-
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 -
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.- Image
- Image
Regards
Narlem
Brazil