I want to update one column data in the selected row, I am using fnUpdate method, while it required row and column index number,
for new row, I can get the total number, but for selected row, I can not get the row number, thanks a lot.
Using the old API you could use fnGetPosition to get the row index and that can be used to pass into fnUpdate . Alternatively, fnUpdate will accept the tr element (note the node not a jQuery instance) if you have a reference to that?
Replies
is there anybody help me, it is urgent to me, appreciated!!
Hi,
Using the old API you could use fnGetPosition to get the row index and that can be used to pass into fnUpdate . Alternatively, fnUpdate will accept the
tr
element (note the node not a jQuery instance) if you have a reference to that?Allan
allen, thanks, you are always resolving my key issues in time^^
I don't have related reference, could you pls send one to me at you convenience,
By "[do] you have a reference to that" I simply meant in the code = i.e.
$('#myElement')[0]
.Allan