Hello,
I have a datagrid which displays some stock data (stock count, material,
description,...) to the user.
The user can select a row and alter the stock count value by means of a
up-down control above the grid.
The user can also sort the grid by clicking on one of the header row
columns. This sorting is done with a dataview and the .sort() method.
The problem is when a user sorts the grid by the stock count value and then
changes the stock count value, the selected row can switch places in the
grid.
The dataview seems to automatically resort the data when altering it,
according to the .sort() parameter, and not only when the .sort() method is
called.
Is there a way to prevent the dataview or datagrid to automatically
rearrange the rows when altering the value of the column it is sorted on? I
want the row to stay in place and only sort the grid by clicking on the
header row columns.
Thanks for any replies!
Tom Pauwels
|