I need to call 'fnDraw' to get the table formatted
I need to call 'fnDraw' to get the table formatted
I am displaying a table in a jQuery dialog. It displays but is not formatted correctly. Headers/Footers not lined up; no "up/down" arrows; and the word "Search" is off to the right while the textbox is in the middle of the area. I added a "click" item and executed a 'table.fnDraw();' method. Everything lines up and all is well. This definitely looks like the table software isn't finding the css files BUT the table is "pretty much" formatted before the "fnDraw" which says that at least SOME of the css is being seen. For example, the rows background color alternates.
So, I need to know how to force the table software to recognize all of the css (assuming that is the problem) or I need to know how to automatically force a table redraw when the dialog opens. And, "No," executing fnDraw immediately after the instatiation of the table doesn't do it.
????????????????????????/
So, I need to know how to force the table software to recognize all of the css (assuming that is the problem) or I need to know how to automatically force a table redraw when the dialog opens. And, "No," executing fnDraw immediately after the instatiation of the table doesn't do it.
????????????????????????/
This discussion has been closed.
Replies
Allan
Click the URL below, then click on "Load Dialog". All looks well except the Search text and textbox. Ideas?
http://63.226.10.37/probdoc/test_dialog_2.php
Now, before you try the next URL---in IE---be prepared to cancel the browser because when you click "Load Dialog" you will see the browser go "wild"---at least that has been my experience. The difference between the two URL's is that in the following URL I have removed two "local" css files that were for other formatting. Therefore the following URL is ONLY DataTable stuff---and jQuery. Very strange.
http://63.226.10.37/probdoc/test_dialog_22.php
All ideas are welcome.
TIA
Ideas?