Get rid of widget init delay

filter widget was not seeing the table-initialized event
This commit is contained in:
Mottie 2014-04-29 07:08:21 -05:00
parent 1154d78e4b
commit 8217871650

View File

@ -1021,9 +1021,7 @@
setHeadersCss(table);
if (c.initWidgets) {
// apply widget format
setTimeout(function(){
ts.applyWidget(table, false);
}, 0);
}
}
@ -1052,7 +1050,6 @@
if (typeof c.initialized === 'function') { c.initialized(table); }
};
// computeTableHeaderCellIndexes from:
// http://www.javascripttoolbox.com/lib/table/examples.php
// http://www.javascripttoolbox.com/temp/table_cellindex.html