hey Angel
in cell existed edit mode client event of webdatagrid how to get column key in edit mode .
i am getting column key in new mode by this way var colKey = eventArgs._cell._column._key
but not getting in edit mode.
plz tell me how to do
Hello Resha,
Thank you for contacting Infragistics.
What I can suggest for achieving your requirement is using the public functions instead of private ones to get the column and rescpectively the column key. I strongly recommend you using the public functions because the private once could be changed without any notice.
In your scenario what I can suggest is handling the ExitedEditMode client side event of WebDataGrid Cell Editing. In this event via the public functions get_column() and get_key() the key for the column that edited cell belongs to could be retrieved as such:
function WebDataGrid1_CellEditing_ExitedEditMode(sender, eventArgs) { var columnKey = eventArgs.getCell().get_column().get_key(); }
function WebDataGrid1_CellEditing_ExitedEditMode(sender, eventArgs)
{
var columnKey = eventArgs.getCell().get_column().get_key();
}
I hope you find this information helpful.
Please let me know if you have any additional questions regarding this matter.
hi Vasya
The code your provided is from server side . iwant it from client side event cell existed edit mode and this code i tried but still in edit mode i didnt get columnkey.i get column value by this
Thanks
Reshma