Hello!
My scenario is:
1 RadGrid with AllowMultiRowEdit = true
RadGrid ID added to AjaxSettings of AjaxManager
All rows must be in edit mode every time(In-line mode), before users's click to "ОК" button at the bottom of the page.
The user must be able to fill data to grid rows after addition of new rows.
That is - Add Row 1, Add Row 2 ... Then fill cells he wants and push "OK".
To Add new item to Grid I just adds new row to DataTable binded to RadGrid in ItemCommand handler and Rebind() it.
Because of numerous template columns in grid with RadComboBox'es, addition of each next row becomes slower and slower...(>10 Items)
But no need to draw again N Items in grid to add N+1 Item....
The idea was to use client-side API to add new rows, but can't understand how can I do it.
masterTable.insertItem(); takes data from the insertion form editors fields, but the insertion form(external form) not needed in my case...
(so http://demos.telerik.com/aspnet-ajax/Grid/Examples/Client/InsertUpdateDelete/DefaultCS.aspx is not very helpful)
I just want to generate new ID and add row with it in edit mode to grid.
So, how can I add row to grid without re-draw all items? Please, help me by suggestion.
My scenario is:
1 RadGrid with AllowMultiRowEdit = true
RadGrid ID added to AjaxSettings of AjaxManager
All rows must be in edit mode every time(In-line mode), before users's click to "ОК" button at the bottom of the page.
The user must be able to fill data to grid rows after addition of new rows.
That is - Add Row 1, Add Row 2 ... Then fill cells he wants and push "OK".
To Add new item to Grid I just adds new row to DataTable binded to RadGrid in ItemCommand handler and Rebind() it.
Because of numerous template columns in grid with RadComboBox'es, addition of each next row becomes slower and slower...(>10 Items)
But no need to draw again N Items in grid to add N+1 Item....
The idea was to use client-side API to add new rows, but can't understand how can I do it.
masterTable.insertItem(); takes data from the insertion form editors fields, but the insertion form(external form) not needed in my case...
(so http://demos.telerik.com/aspnet-ajax/Grid/Examples/Client/InsertUpdateDelete/DefaultCS.aspx is not very helpful)
I just want to generate new ID and add row with it in edit mode to grid.
So, how can I add row to grid without re-draw all items? Please, help me by suggestion.