Posted 1 November 2017, 4:36 pm EST
How can I get the address (row,colum) of the clicked cell in the flexgrid control?
Thanks in advance
Forums Home / ComponentOne / WinForms Edition
Posted by: ahmdsalh on 1 November 2017, 4:36 pm EST
Posted 1 November 2017, 4:36 pm EST
How can I get the address (row,colum) of the clicked cell in the flexgrid control?
Thanks in advance
Posted 2 November 2017, 1:40 am EST
Hello,
Please use the following lines of code in MouseClick event to get the address (row,column) of the clicked cell in the C1FlexGrid:
Dim row As Integer = C1FlexGrid1.HitTest(e.X, e.Y).Row
Dim col As Integer = C1FlexGrid1.HitTest(e.X, e.Y).Column
Thanks,
Mohit
Posted 2 November 2017, 6:14 am EST
Thank you so much