DataTable does not display all columns until first answer from server
DataTable does not display all columns until first answer from server
sidamos
Posts: 3Questions: 0Answers: 0
HI!
I am using Chrome, jQuery 1.6.4, DataTables 1.8.2 and Scroller nightly.
After initial page load, DataTable shows only 2 cols of my 3 col table, until the first answer from the server arrives. Then it displays all 3 cols.
Definition:
artikelTable = $('#artikelList').dataTable( {
"aaData": [],
"aoColumns": [
{ "sTitle": "id", "sClass": "center" },
{ "sTitle": "Artikel" },
{ "sTitle": "Name" }
],
"sDom": "rtSi",
"bDeferRender": true,
"sScrollY": $('#artikelListHolder').height() - 70 + "px",
"bServerSide": true,
"fnServerData": fetchData,
"sScrollX": "100%"
} );
Thanks!
Thomas
I am using Chrome, jQuery 1.6.4, DataTables 1.8.2 and Scroller nightly.
After initial page load, DataTable shows only 2 cols of my 3 col table, until the first answer from the server arrives. Then it displays all 3 cols.
Definition:
artikelTable = $('#artikelList').dataTable( {
"aaData": [],
"aoColumns": [
{ "sTitle": "id", "sClass": "center" },
{ "sTitle": "Artikel" },
{ "sTitle": "Name" }
],
"sDom": "rtSi",
"bDeferRender": true,
"sScrollY": $('#artikelListHolder').height() - 70 + "px",
"bServerSide": true,
"fnServerData": fetchData,
"sScrollX": "100%"
} );
Thanks!
Thomas
This discussion has been closed.
Replies
I couldn't find the link to that post, but it was sometime earlier this week.