Only show "show extra / detailed" button if information is not null
Only show "show extra / detailed" button if information is not null
Pedro Martins
Posts: 22Questions: 11Answers: 0
Hello again!
Would i be able to only show "show extra / detailed" button if information is not null?
How could i achieve this???
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Yes, conditionally add the class to show the button (assuming you are using a class). You could do that with the
createdRow
option for example.Allan
Here are a couple threads with the same question:
https://datatables.net/forums/discussion/comment/149461/#Comment_149461
https://datatables.net/forums/discussion/comment/134822/#Comment_134822
Kevin
That´s it! thanks @allan !!!