How to close and open drawers from a snippet ?

  • 1
  • Question
  • Updated 3 years ago
  • Answered
When a check box is selected I want to open the drawers for all rows in the table and close when deselected.

How to close the drawers from snippet ?  any API access we have to access it ?

Thanks. 
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
This may help: https://community.skuidify.com/skuid/topics/javascript-to-open-drawer-and-or-conditionally-render-ro...

Also, a query of the table's model will close all of its drawers. You could probably also just .render() your table.