This is a migrated thread and some comments may be shown as answers.

[Solved] Problems sorting numbers

3 Answers 121 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin
Top achievements
Rank 1
Martin asked on 30 Jun 2011, 08:18 AM
Hi,

we have a Datagrid where we use text and numbers (double). I have the problem that in this particular grid when I click on the Header, the sort sign (flesh) appears. But it does not sort anything. It sorts when I use a text-column, but not the colums with double.

Is there a known issue?

Thanks,

Martin


3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 30 Jun 2011, 08:22 AM
Hi Martin,

I am afraid that there are no known issues with sorting. Could you please send us a sample where that problem can be reproduced. 

Best wishes,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Martin
Top achievements
Rank 1
answered on 30 Jun 2011, 08:43 AM
Hi,

thanks for you reponse. We have that problem in a big project. Therefore I cannot paste you a sample, sorry.

0
Martin
Top achievements
Rank 1
answered on 01 Jul 2011, 01:36 PM
I was able to find the cause of the problem:
I have a class that I add in the gridview project named ResultElements
In this class is a string ElementName and a class Results

Everything that is in that class Results can NOT be sorted. When I add only the class Results - no problem for the sorting.

I binded the Members to Results.Variable

Viewing is no problem - but sorting. That has to have something to do with your code.

Thanks,

Martin
Tags
GridView
Asked by
Martin
Top achievements
Rank 1
Answers by
Milan
Telerik team
Martin
Top achievements
Rank 1
Share this question
or