Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ravindra on Jan 04, 2009 21:21
open dhtmlx forum
Get new Row Values

Hi all,
I have grid and am loading with xml. in my grid three columns are there and after loading the grid am adding some new row and values to existing grid with simple jquery function(using button). i want to take those rows values which are newly added and want to submit to the servlet(using ajax function).




Thanks
Ravindra
Answer posted by Support on Jan 07, 2009 15:54
In normal state grid doesn't monitor which rows was added after initial loading , so it not possible get the list of added rows. You can use onRowAdded event of grid to store list of added rows and later, when data need to be sent to the server, you can use
    grid.cells(id,ind).getValue();
to get values of rows in question