Sorted Array
Sorted Array
Datatables,
How can I return the sorted table array?
I have a print requirement, which requires a get sorted date then writing it to an invisible iframe, stripping all the markup, for printing.
Now I use fnGetData which prints the orginal unsorted set.
Thank you,
Chris
How can I return the sorted table array?
I have a print requirement, which requires a get sorted date then writing it to an invisible iframe, stripping all the markup, for printing.
Now I use fnGetData which prints the orginal unsorted set.
Thank you,
Chris
This discussion has been closed.
Replies
(looping with aiDisplay will return the filtered sorted set)
var oSettings = Table.fnSettings();
for (var i = 0; i < oSettings.aiDisplay.length; i++) {
var row_ptr = oSettings.aiDisplay[i];
var temp_row = Table.fnGetData(row_ptr);
}