Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by JC on Jan 21, 2008 05:49
open dhtmlx forum
selected row values

Is there a way i can get all the column values of a selected row in a grid onto the server side using asp.net? Just like you get all the values of an updated,deleted or inserted row using the dataprocessor (update.php).
Answer posted by Support on Jan 21, 2008 05:58
By default "selection" is fully client side, and not send any request to server side, but it possible to

a) add onRowSelect event handler and made custom ajax call from it to server side code
b) add onRowSelect event handler and call
    dataprocessor.setUpdated(id);
    dataprocessor.sendData();
from it, it will trigger default dataprocessor sending routine.
Answer posted by JC on Jan 21, 2008 06:30

add onRowSelect event handler and made custom ajax call from it to server side code

Can you give me a sample code so that i can understand it better?