DevExtreme jQuery/JS - Control the Behavior

By default, exactly one panel can be in the expanded state at one moment. To change this, switch the collapsible and multiple options to true.

JavaScript
  • $(function () {
  • $("#accordionContainer").dxAccordion({
  • // ...
  • // All panels may be collapsed
  • collapsible: true,
  • // Multiple panels may be expanded
  • multiple: true
  • });
  • });
See Also