AD
Administrator
Syncfusion Team
March 22, 2007 10:27 PM UTC
Hi Fred,
You can use the Table.Records property to get the collection of sorted record elements that are children of a Table. This collection contains all records, it is not filtered. The collection provides support for determining a record's position in the grouped table using the RecordsInTableCollectionBase.IndexOf method.
[c#]
foreach( Record rec in this.grid.Table.Records)
Console.Writeline( rec.Info );
Use Table.UnsortedRecords proeprty to get the collection of unsorted Record elements that are children of a Table and represent the original records in the same order as the underlying data source. The collection provides support for determining a record's underlying position in the datasource using the UnsortedRecordsCollection.IndexOf method.
[c#]
foreach( Record rec in this.grid.Table.UnsortedRecords)
Console.Writeline( rec.Info );
Best regards,
Haneef
FL
Frederic Loud
March 23, 2007 05:01 PM UTC
Thanks for the info, thats what I was assuming I'd end up having to do. I developed a work around using the Records Collection.