Avoid DataTableJS first load Initialization-(serverSide=false)

Avoid DataTableJS first load Initialization-(serverSide=false)

orney21d@gmail.comorney21d@gmail.com Posts: 23Questions: 7Answers: 3
edited September 2016 in Free community support

Hi all,

There is some method to disable first load DataTableJS in serverside=false???

The fact is there is an application that client want the first time they enter in it the table will be empty until they click on button to search results set...

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,824Questions: 1Answers: 10,131 Site admin
    Answer ✓

    Sure - just don't load anything. Have an empty HTML table and don't specify an ajax option. When you then want to populate the table, make your Ajax call and use rows.add() to add them to the table.

    Allan

  • orney21d@gmail.comorney21d@gmail.com Posts: 23Questions: 7Answers: 3

    Thanks very much and sorry for the delayed answer...

This discussion has been closed.