Rico LiveGrid-Example 1
This example demonstrates how to populate a grid from a javascript array.
var myData = [
[1,'Cell 1:2','Cell 1:3','Cell 1:4','Cell 1:5'],
[2,'Cell 2:2','Cell 2:3','Cell 2:4','Cell 2:5'],
[3,'Cell 3:2','Cell 3:3','Cell 3:4','Cell 3:5'],
[4,'Cell 4:2','Cell 4:3','Cell 4:4','Cell 4:5']
];
var buffer=new Rico.Buffer.Base();
buffer.loadRowsFromArray(myData);