General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
Kevin,
The new rows are appearing, they just wouldn't be in the sorted order. I had to click on the header to refresh the sort. I tried two methods for adding the data.
Method 1 - Adding the rows to the grid
Method 2 - Adding the rows to the datasource
I can get the sorting to work after a click on the headers to "activate" the sort.
I've narrowed it down to a specific scenario:
1. A grid (grid #1) with a few rows - the datasource is a filtered dataview that is sorted programatically on Column A. Grid #1 has no columns have been clicked for sorting.
2. I drag a few rows from another grid onto grid #1.
3. New rows are appended to the grid - sort refresh doesn't fire.
4. I click on Column A header -> sort indicator appears, column is sorted.
5. I drag a few more rows from the other grid, new rows get sorted correctly.
I've got a work around, but I was just wondering if I was missing something.
Thanks for your help!
Bob
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only