Get the clicked cell in flexgrid

Posted by: ahmdsalh on 1 November 2017, 4:36 pm EST

    • Post Options:
    • Link

    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

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels