I would like to be able to add a row to the bottom of the grid but seem not to see a way to do this. The .add() method of the rows collection seems not to work.
Hi,
You have to create the actual row object and then add it. Here's a sample.
function AddRowToGrid() { var grid = ig_controls["WebDataGrid1"]; var row = new Array("Hello", 1, 2); grid.get_rows().add(row); return false; }
Ed
This seems not to work. Could you post your grid definition? Here is mine:
<
="EXECUTION_STATUS">
>
="System.String">
/>
="System.Int32">
="False">
="Text">
="nepSortOrder">