Data Table expands while loading and contracts after few mins.

Data Table expands while loading and contracts after few mins.

GowthamRajanGowthamRajan 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

Answers

  • john_ljohn_l Posts: 45Questions: 0Answers: 12

    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.

  • GowthamRajanGowthamRajan Posts: 2Questions: 1Answers: 0

    I have just added script to my index page.

    And i have intialized as $("#userlist").dataTable();

This discussion has been closed.