javascript array

Just starting out? Need help? Post your questions and find answers here.
LuckyLuke
Posts: 20
Joined: Wed Oct 26, 2016 9:50 am

javascript array

Post by LuckyLuke »

Hi,

I want to call a native javascript function and I need to create an array. Is it possible to use Spiderbasic native commands to do this or should I use native javascript (using the '!' - symbol ?

Code: Select all

    columns: [                
        { field: 'recid', caption: 'ID', size: '50px' },
        { field: 'lname', caption: 'Last Name', size: '30%' },
        { field: 'fname', caption: 'First Name', size: '30%' },
        { field: 'email', caption: 'Email', size: '40%' },
        { field: 'sdate', caption: 'End Date', size: '120px' }]
Thanks.