I have a function to DrawCallback.push. And i want to call inside dataTableExt.oSort ....
I have a function to DrawCallback.push. And i want to call inside dataTableExt.oSort ....

I have a function:
jQuery.fn.dataTableExt.oApi.fnFakeRowspan = function ( oSettings, iColumn, bCaseSensitive ) {
...
oSettings.aoDrawCallback.push({ "fn": fakeRowspan3, "sName": "fnFakeRowspan3" });
return this;
};
And i want to call inside:
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"numeric-comma-pre": function ( a ) {
var x = (a == "-") ? 0 : a.replace( /,/, "." );
¿¿ jQuery.fn.dataTableExt.oApi.fnFakeRowspan(0); ??
cond = false;
}
return parseFloat( x );
},
is there any idea?
This discussion has been closed.
Replies
The FakeRowspan plugin has this comment:
If you have server side processing enabled then the Sorting Plugin won't work as it is for client side data. The behavior you need to achieve will need to happen with your server side code.
Maybe you can post more information (Datatables JS code) and describe more about the problem you are trying to solve.
Kevin