- DataBoundGrid with sorted integer column.
- currencymanager is in use.
- range over a part of cells in these (sorted) column.
- a method fill the ranged cells with varios integers.
and now the problem:
the positions of the rows in the grid will be changed while sorted.
the top and bottom property of the range is now not synchroniced with the actual view on the rows.
is it possible to stop the columnsort (dont reset the sort) while operations in ranges are in progress?
suspendBinding is not the solution in this case.
ADAdministrator Syncfusion Team October 21, 2003 09:35 AM
I don't know of a good way to do this.
You could go through the range and prepare a hashtable that uses the primary key and column name as the the hashtable key and the value being the value you want to place in the table. Once you have this hashtable, you could just directly update the underlying table, finding the proper row through the primary key, and the proper column through the column name. This would change working through the grid (which is tied to the changing dataview) to working directly with the DataTable which would not be changing....