fnRowCallback: index of data in full dataset?
fnRowCallback: index of data in full dataset?
koosvdkolk
Posts: 169Questions: 0Answers: 0
My table uses a JSON-object for its data.
The function fnRowCallback receives four arguments:
nRow: "TR" element for the current row
aData: Raw data array for this row
iDisplayIndex: The display index for the current table draw
iDisplayIndexFull: The index of the data in the full list of rows (after filtering)
How can I get the index of the data in the full list of rows *before* filtering? My code needs that index because there is another array with additional information.
The function fnRowCallback receives four arguments:
nRow: "TR" element for the current row
aData: Raw data array for this row
iDisplayIndex: The display index for the current table draw
iDisplayIndexFull: The index of the data in the full list of rows (after filtering)
How can I get the index of the data in the full list of rows *before* filtering? My code needs that index because there is another array with additional information.
This discussion has been closed.
Replies