fnGetData + pagination : How to get row data from unseen page?
fnGetData + pagination : How to get row data from unseen page?
Hi I got a table in which i got several pages(using pagination)
If I do the following(by clicking a button outside the table):
[code]var row = oTable.fnGetData(document.getElementById( "myID" )); [/code]
on a row in the current page the row variable is OK
but if I try to do the same on ID of a row that is placed on some other page (not the one that I see right now) I get null
I know that the [code]document.getElementById( "myID" )[/code] returns null...
I also tried [code]oTable.fnGetData($("#myID" )[0]) [/code], but also doesn't work
I think its cause of the fact that the row is not visible...
So... Any ideas how to get a row that located on some other page?
If I do the following(by clicking a button outside the table):
[code]var row = oTable.fnGetData(document.getElementById( "myID" )); [/code]
on a row in the current page the row variable is OK
but if I try to do the same on ID of a row that is placed on some other page (not the one that I see right now) I get null
I know that the [code]document.getElementById( "myID" )[/code] returns null...
I also tried [code]oTable.fnGetData($("#myID" )[0]) [/code], but also doesn't work
I think its cause of the fact that the row is not visible...
So... Any ideas how to get a row that located on some other page?
This discussion has been closed.
Replies