hide header if no results

hide header if no results

pmengopmengo Posts: 74Questions: 37Answers: 2

Is there a standard way to not show header if theres no data in table

Answers

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

    You would need to use either drawCallback or the draw event and check how many rows are in the table (page.info()) and then show or hide the table as required.

    Allan

This discussion has been closed.