dataTable collapsed by default
dataTable collapsed by default
tomish
Posts: 17Questions: 11Answers: 0
Hi, I would like my dataTable to appear on my page as collapsed; a user could of course click on the little error to expand it. How do I make it collapsed by default? Thanks!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I think this is really just a simple javaScript question. Set the display to none in the table element. when a user clicks on "something", then use jQuery toggle() on the table.
oh duh - right, the collapse/expand is part of my panel not the dataTable