E
emailtonitin
Hi,
I am having a problem with the default sorting mechanism employed by
the datatable.select method -
I have a datatable having rows (simplified for clarity) -
name
-----
c
a
b
f
d
e
Now, if I select some rows from a datatable -
datatable.select ("name in 'c,a,b'")
but the rows are returned in the order -
a
b
c
seems like there is some default sorting taking place inside the
function. I would like to know if it is possible to avoid it somehow,
so that the rows can be returned in the original order?
The datatable has no primary key defined.
Thanks for your help.
I am having a problem with the default sorting mechanism employed by
the datatable.select method -
I have a datatable having rows (simplified for clarity) -
name
-----
c
a
b
f
d
e
Now, if I select some rows from a datatable -
datatable.select ("name in 'c,a,b'")
but the rows are returned in the order -
a
b
c
seems like there is some default sorting taking place inside the
function. I would like to know if it is possible to avoid it somehow,
so that the rows can be returned in the original order?
The datatable has no primary key defined.
Thanks for your help.