Data Table expands while loading and contracts after few mins.
Data Table expands while loading and contracts after few mins.
GowthamRajan
Posts: 2Questions: 1Answers: 0
Hi,
I have intialized a datatable which has nearly 50records only. When the page loads, the datatable expands showing all data, and after few secs it applies pagination. Also while loading Search option and page length dropdowns are missing, it gets displayed only when pagination is applied. I would like to get the datatable to be displayed without affecting my page.
Thanks in advance
This discussion has been closed.
Answers
This all depends on where how the table is configured int he page initially, and then how and when you initialize it as a datatable. If you can post an example using jsfiddle or similar, then we could give some more specific advice.
I have just added script to my index page.
And i have intialized as $("#userlist").dataTable();