3.2.0

Getting Sorted Grid Data In Current Sort Order

Suppose my grid contains:

Alice
Bob
Carl

I go ~ for i = row0 to row2 getcelltext and I get:

Alice
Bob
Carl

I click on the header twice and sort in reverse now I have:

Carl
Bob
Alice

I go ~ for row0 to row2 getcelltext and I still get:

Alice
Bob
Carl

How can I get the data out in the current sorted order?

- ej
ericj
November 1,
The current row display order is stored in row indices array -

http://www.activewidgets.com/aw.ui.grid/row-indices.html

if the row indices array is 'undefined' - the row index is the same as row position (un-sorted) otherwise

var rowIndex = rowIndicesArray[rowPosition];
Alex (ActiveWidgets)
November 2,

This topic is archived.

See also:


Back to support forum