To obtain a clicked cell, you should handle the HtmlDataCellPrepared event and subscribe to the cell's oncontextmenu event.
Example Comments
Added By: Midhun Bezawada at: 2/5/2014 6:03:03 AM
Thanks a lot it works for me but after i get values in method i am unable to call my context menu right-click client side function.
function OnContextMenu(s, e) {
hiddenfield.Set('VisibleIndex', parseInt(e.index));
menu.ShowAtPos(e.htmlEvent.clientX, e.htmlEvent.clientY);
}
after calling function that is specified i should be able to call function specified above.
Added By: Vladimir (DevExpress Support) at: 2/5/2014 8:29:38 AMHello Midhun,
Our team is dedicated to addressing all your concerns. For quick and efficient responses, we kindly request you to post technical questions that are not directly related to the implementation of the example in separate tickets. Your time and cooperation are appreciated.
In order to better serve and track multiple questions in your inquiry, I have taken the liberty of separating the issue you addressed. Please refer to these ticket for further correspondence on these items:
i am unable to call my context menu right-click client side function