S
simchajoy2000
Hi,
I've got a datagrid that has columns containing numbers but when the
user clicks on the column header to sort - the sort is not placing
numbers in the correct order. For example let's say I have the
following column of number data:
1
2
3
6
7
9
10
15
20
25
etc...
After sorting it appears like this:
1
10
15
2
20
25
3
6
7
9
Is there something I can do to rectify this?? Is the datagrid just not
aware of the datatype of the column? I assumed that it would since
it's being loaded from a database but perhaps that is not the case.
Thanks!
Joy
I've got a datagrid that has columns containing numbers but when the
user clicks on the column header to sort - the sort is not placing
numbers in the correct order. For example let's say I have the
following column of number data:
1
2
3
6
7
9
10
15
20
25
etc...
After sorting it appears like this:
1
10
15
2
20
25
3
6
7
9
Is there something I can do to rectify this?? Is the datagrid just not
aware of the datatype of the column? I assumed that it would since
it's being loaded from a database but perhaps that is not the case.
Thanks!
Joy