Closed all opened rows(Rows expand/close)

Closed all opened rows(Rows expand/close)

cel_matrixcel_matrix Posts: 1Questions: 0Answers: 0
edited September 2013 in General
hi I am new to datatables, I found a discussion on opening all rows using click function. Is it possible to close all rows by single click.

Replies

  • allanallan Posts: 63,499Questions: 1Answers: 10,471 Site admin
    Sure, just loop over all rows and check if it is open ( fnIsOpen ) and if it is close it.
This discussion has been closed.