Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by udhaya on Apr 21, 2008 00:43
open dhtmlx forum
How to get the column values when click save button

Hi

I want to get the column values in the grid when click the save button using dataprocessor..

for Example

No Column1 task name
1 1 Id
2 2 Name
3 3 Question
4 4 Answers


Suppose I edit a cell in the 3rd row and click the save button, I wants to get the column1 values...
1
2
3
4

I want to get like this. I using JSP for the Save process

Please suggest some solutions


Thanks and regards
Udhayabalachandar
Answer posted by Support on Apr 21, 2008 01:54
The data which will be received on server side depends on used way of data saving ( form integration, data processor, etc.)
On client side you can get value of any cell by
    grid.cells(i,j).getValue();

for (var i=0; i<this.getRowsNum(); i++)
    alert(grid.cells2(i,0).getValue());