Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmUltraWinGrid Sort Refresh
Message
De
04/04/2005 18:48:45
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00999988
Message ID:
01001382
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform