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
Hello reshma,
I made a small sample project illustrating my suggestion and I am attaching it for your reference. For my test I am using version 13.1.20131.2069 of NetAdvantage.
Hello Reshma,
I wanted to know if you were able to solve your issue based on these suggestions or you still need help.
Please let us know.
Thank you for your feedback.
We will research your new forum thread and will update you there.
Please do not hesitate to contact me if you need any additional assistance.
Hello Boris,
my issue has been solved.
i have another issue for which i have posted new forum