Hey guys,
First time using DataView component to list records in a BS Table…
I have a serverconnect with a multi records query. Then I add a DataView and assign its Data Source to that query.
I’m trying to have my table data sorted on a DataView column by setting the DataView Sort on attribute
sorton="ord_Total"
(ord_Total is the DataView Column).
But it didn’t work like that, and my results were not correctly sorted (although Sort direction has an effect)
Here is a Ascending sort:
And here is Descending sort:
After a few tests I ended-up that the problem is if I assign a column type of Decimal.
If I sort on a Numeric or String type filed it is ok.
If anybody can give me an idea of what I’m doing wrong or how this can be handled it would be great.
Thanks in advance