Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82018

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

$
0
0

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?


Viewing all articles
Browse latest Browse all 82018

Trending Articles