Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Changing sort type

$
0
0
Hi,

We have a Flex4 DataGrid, which is totally dynamic, so I don't know in
advance number of columns or their types.
It is sorted on the first column, which we know is numeric: 1,2,3,4,...

But users might want to sort
on other columns, happens often,
and some numeric columns contain negative numbers.
So how can I set sort type dynamically, when I find out column data type,
after user click to sort it.

TIA,
Oleg.

Viewing all articles
Browse latest Browse all 5648