DataTable and Array


#1
  1. How to replace the javascript code for the Basic code about arrays on these sample:

    JavaScript
    var data1 = [];
    data1.push( [ “100” , “name11” , “title11” , “text11” ] );
    data1.push( [ “200” , “name22” , “title22” , “text22” ] );
    data1.push( [ “300” , “name33” , “title33” , “text33” ] );
    data1.push( [ “400” , “name44” , “title44” , “text44” ] );
    data1.splice( 1 , 1 ); // delete item "200"
    End JavaScript
    JavaScript
    data1.splice( 0 , UBound(data1)+1 );
    End JavaScript
    For i = 0 To UBound(data)
    JavaScript
    data1.push( [ data[i].codigo , data[i].titulo , data[i].memo , data[i].arquivo ] );
    End JavaScript
    Next
    End If

  2. What and where I have to set on datatable for it work like this next image, the second image is how it is working,
    I want just 1 line in each row of the datatable, ist using 2, 3 or more lines for each row.

    1. Image
    2. Image

      Regards

Narlem
Brazil


#2

Why not keep it in JavaScript? AppStudio will just have to change it back. JavaScript is also better at formatting a lot of data in code.


#3

ok, for me keep it on javascript,

but about the new bootstrap datatable to work like fist image