I am using the dataTable plugin I fix this problem:
The table.row function is not
(instead of D use ataTable () D ataTable ())
This works:
function initTable (selector, ext) {// merge defaults and extended settings ... // init plugin var table = $ (selector). DataTable ( Parameter); } // call initTable ('# blah-blah', {...}); But I want to use the cash variable (one time) and for others.
This is not working (table.row function is not again):
function initTable (jqObj, ext) {// merge defaults and extended settings. .. // init plugin jqObj.DataTable (parameter); } // call var table = $ ('# blah-blah'); InitTable (table, {...}); // Reuse the table again Return table object from initTable? seriously? Do you know in another way?
No comments:
Post a Comment