Consultor Eletrônico



Kbase P113033: Why does a Temp-Table display incorrectly sorted in .Net DataGrid
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/01/2006
Status: Unverified

GOAL:

Why does a Temp-Table display incorrectly sorted in .Net DataGrid?

GOAL:

Why is my Temp-Table returned from the AppServer to .Net sorted incorrectly?

FACT(s) (Environment):

OpenEdge 10.x

FIX:

When a Temp-Table is returned from the AppServer to a .Net client and then used as the DataSource for a .Net DataGrid the data may appear to be sorted incorrectly. There is actually nothing wrong with the Temp-Table that was returned from the AppServer. The .Net DataGrid actually sorts data via a 'Word' sort and certain characters (i.e. dashes) are considered to be word separators and are ignored when .Net sorts the DataGrid. To resolve this you must tell each column in the DataGrid how it is to be interpreted when sorting happens.