AD
Administrator
Syncfusion Team
October 16, 2003 07:28 PM UTC
There is no mapping maintained by the grid. The sorting is being done via the IBindingList sort support for the datasource.
You should use the primary key for the row as the key for the hashtable storing the style values. This way, when you want to get a particular style on any given row, you retrieve the primary key for that row, and then use that key to look up the style in your hashtable. Even if the grid is sorted or filtered, the primary key value for the row will be able to retrieve the proper value from the hashtable.