Docs
API
  • toggleGroup

    Boolean

    The group toggle button is a member of (only 1 per group can be pressed).
    If a toggleGroup is specified, enableToggle configuration will automatically be set to true.

    Example

    
    buttons: [{
      text: 'Cell',
      toggleGroup: 'sel',
      handler: function(b) {
        b.setPressed(true);
      }
    ...