Datagrid cell double click
-
hello; i want to catch that user double clicks on filled cells on datagrid but there is no event for this, is there any idea for handle it! thanks
-
hello; i want to catch that user double clicks on filled cells on datagrid but there is no event for this, is there any idea for handle it! thanks
If I remember correctly, the double click is actually broken down into 2 clicks: a click for the datagrid and another one for the datagrid cell. To achieve what you want, you either use a context menu (allowing the user to do multiple things, among them the action required by your double click), or you extend the datagrid class and try to capture the double click event.
SkyWalker
-
If I remember correctly, the double click is actually broken down into 2 clicks: a click for the datagrid and another one for the datagrid cell. To achieve what you want, you either use a context menu (allowing the user to do multiple things, among them the action required by your double click), or you extend the datagrid class and try to capture the double click event.
SkyWalker
hi thanks for your reply my problem is, datagrid doesnt have cellcontentdoubleclick but datagridview has cellcontentdoubleclick. and i have to use datagrid. beucase i wrote 6,7 pages code i cannot change Now how can i use context menu i didnt use it before thanks best regards
-
hi thanks for your reply my problem is, datagrid doesnt have cellcontentdoubleclick but datagridview has cellcontentdoubleclick. and i have to use datagrid. beucase i wrote 6,7 pages code i cannot change Now how can i use context menu i didnt use it before thanks best regards
Here is a good example[^].
SkyWalker
-
Here is a good example[^].
SkyWalker