Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3455
How to get the selected row index of WinGrid
posted
Hi,
How to get the selected row index of WinGrid?
Regards,
Pgr2007
Parents
  • 469350
    Offline posted

    It depends what you mean by "selected row index".

    There can be more than one selected row? Are you sure you don't mean the ActiveRow? 

    Also, what do you need the index for? Row indices can change when you sort, add, filter, or delete rows. So they are not usually very useful. 

    You can get the Index of a row by accessing the Index property on the row. There is a also a VisibleIndex and a ListIndex on the row. 

Reply Children