Home Forums WinForms controls Xceed Grid for WinForms Accessing the Underlining Object in a DataRow Reply To: Accessing the Underlining Object in a DataRow

Xceed Support
Member
Post count: 5658

Even if they have sorted it be the ColumnManagerRow/Cells, the Index property of each DataRow still represents its index in the actual DataSource. The index of the DataRows in the order in which they are sorted can be retrieved using the GetSortedDataRows method and then checking the Index of the DataRow in the returned collection.

Imported from legacy forums. Posted by Jenny [Xceed] (had 456 views)