We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Double click / single click

Hi, I am having GDBG. I have set singleclick as grid sort behaviour. when the user double clicks on any of the row, i open a edit window for that row. but when the user double clicks on the header row the GDBG is sorting as well as triggering the edit event (opening the edit window). how to block opening the edit window when the user doubleclicks on header row. I checked for grid.currentcell.rowindex and its giving me the last selected row index. Thanks in Advance. Ram

2 Replies

AD Administrator Syncfusion Team May 18, 2003 11:25 AM UTC

If you are using the CellDoubleClick to open up your edit window, then you can check e.RowIndex to get the row that was double clicked.


RA Ramu May 18, 2003 01:11 PM UTC

Thx clay Ram > If you are using the CellDoubleClick to open up your edit window, then you can check e.RowIndex to get the row that was double clicked.

Loader.
Live Chat Icon For mobile
Up arrow icon