Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmUltraWinGrid Sort Refresh
Message
From
04/04/2005 18:48:45
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00999988
Message ID:
01001382
Views:
19
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
Map
View

Click here to load this message in the networking platform