The DataTables is presenting the hidden columns for very short time (2-3 seconds) and after that they disappear. What is the cause for bug and is there a way to solve it?
Its not so much a bug as simply the way it works. Remember that DataTables is taking your HTML table which has already been created in the page's DOM and "enhancing" it. This process takes time, and thus sometimes you can have a visible artefact such as you are seeing.
Generally you shouldn't see it since DataTables is reasonably quick in its operation - but you might for large tables or on slower computers. Also make sure you do it when the DOM is ready, not at window.onload.
An alternative is to not have the hidden columns - you could use an AJax source for example or one of the other data source options DataTables provides.
Replies
Generally you shouldn't see it since DataTables is reasonably quick in its operation - but you might for large tables or on slower computers. Also make sure you do it when the DOM is ready, not at window.onload.
An alternative is to not have the hidden columns - you could use an AJax source for example or one of the other data source options DataTables provides.
Allan