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
475
Position of activerow in rows collection
posted

Is there a way to determine the index of the active row in the rows collection. For example,  if I have 5 rows in the grid and row 2 is active, I would like to loop through the grids, but skip the active row.

  • 18495
    Suggested Answer
    posted

    Hello,

    Thank you for contacting Infragistics.  The UltraGrid has an ActiveRow property which is either null or an instance of an UltraGridRow.  The UltraGridRow has an Index property which provides its index in the UltraGrid.Rows collection.

    Please let me know if you have any other questions about this.