Page 1 of 1

javascript array

Posted: Thu Oct 12, 2017 12:17 pm
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.