dataTable collapsed by default

dataTable collapsed by default

tomishtomish 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

Answers

  • glendersonglenderson Posts: 231Questions: 11Answers: 29
    Answer ✓

    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.

  • tomishtomish Posts: 17Questions: 11Answers: 0

    oh duh - right, the collapse/expand is part of my panel not the dataTable

This discussion has been closed.