Docs
API
  • enableToggle

    Boolean

    True to enable pressed/not pressed toggling.
    If a toggleGroup is specified, this option will be set to true.

    Example

    
    bbar: [{
      text: 'Cell',
      enableToggle: true,
      handler: function(b){
        b.toggle();
      }
    },{
      text: 'Row',
      enableToggle: true,
      pressed: true,
      handler: function(b){
        b.toggle();
      }
    ...
    

    Default

    
    false