to get selected rows error
to get selected rows error
Hello,
I'm trying to get selected rows from the DataTable. The code below was working before, but It doesn't work right now and I dont know why.
I've just upgraded DataTable v1.8 to v1.9.0 maybe this is the reason. Anyway, in the "fnGetSelectedMatcedRow" fuction, I cant get the value of the first cell of the selected row. aTrsVal[i][0] returns "undefined".
[code]
function getSelectedRows(){
var selectedRows = new Array();
var exampleTable = $('#example3').dataTable( );
selectedRows = fnGetSelectedMatcedRow(exampleTable);
var hiddenSelectedArray = "";
for ( var i=0 ; i
I'm trying to get selected rows from the DataTable. The code below was working before, but It doesn't work right now and I dont know why.
I've just upgraded DataTable v1.8 to v1.9.0 maybe this is the reason. Anyway, in the "fnGetSelectedMatcedRow" fuction, I cant get the value of the first cell of the selected row. aTrsVal[i][0] returns "undefined".
[code]
function getSelectedRows(){
var selectedRows = new Array();
var exampleTable = $('#example3').dataTable( );
selectedRows = fnGetSelectedMatcedRow(exampleTable);
var hiddenSelectedArray = "";
for ( var i=0 ; i
This discussion has been closed.
Replies
I use mDataProp in aoColumns so It should be "aTrsVal[i].systemId".