Hi,
I would like to do a client-side binding on radgrid without calling a webservice. all of the examples that I've seen use a webservice...
I want the user to add/remove/edit rows to the RadGrid using an external form (all in javascript) and only when he's done the data will be sent to the server.
My questions are:
1. what is the format of the datasource that I should pass to "set_dataSource"? if I want to bind the data or add a new row.
can I do something like:
var arr = new Array();
arr.push( {field1: value1, field2: value2 .... } )
myGrid.set_dataSource(arr);
myGrid.data_bind();
2. how do I extract the grid's data and send it back to the server?
Thanks in advanced!
I would like to do a client-side binding on radgrid without calling a webservice. all of the examples that I've seen use a webservice...
I want the user to add/remove/edit rows to the RadGrid using an external form (all in javascript) and only when he's done the data will be sent to the server.
My questions are:
1. what is the format of the datasource that I should pass to "set_dataSource"? if I want to bind the data or add a new row.
can I do something like:
var arr = new Array();
arr.push( {field1: value1, field2: value2 .... } )
myGrid.set_dataSource(arr);
myGrid.data_bind();
2. how do I extract the grid's data and send it back to the server?
Thanks in advanced!