In plugin fnGetColumnData. object oSettings is always NULL.

In plugin fnGetColumnData. object oSettings is always NULL.

andre2011andre2011 Posts: 2Questions: 0Answers: 0
edited March 2011 in Plug-ins
Good day Alan,

Sorry, I newbie in jquery and I have a problem with fnGetColumnData plugin.
I dont know why, but in:
[code]
$.fn.dataTableExt.oApi.fnGetColumnData = function (oSettings, iColumn, bUnique, bFiltered, bIgnoreEmpty) {
...
}

[/code]
oSettings is always NULL (((


But in fnDrawCallback oSettings is OK.
[code]
$(".transactionsTable").dataTable( {

"fnDrawCallback": function ( oSettings ) {

},
});
[/code]

Replies

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    Hi andre2011,

    How are you calling fnGetColumnData? DataTables will automatically put the oSettings parameter in for you, so you just need the following parameters in the call.

    Regards,
    Allan
This discussion has been closed.