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 in AfterSelectChange
posted

Hi,

I need the row index in AfterSelectChange.

regards,

pgr2007

Parents
No Data
Reply
  • 17259
    Offline posted

    Whenever you like you can write: 

    grid.ActiveRow.Index;

    which is the active row. If you want the selected row or rows you can write:

    grid.Selected.Rows

    and you'll get a collection of selected rows. There maybe more than one selected row.

Children