Docs
API
  • type

    String

    Item type.

    Possible values: button, checkbox, combo, date, number, search, segbutton, string, switcher, text.

    Example

    
    {
      type: 'button',
      text: 'Add',
      handler: function(){}
    }
    

    Example: Search grid tbar field

    
    tbar: [{
      type: 'search',
      width: 350,
      emptyText: 'Search',
      paramsMenu: true,
      paramsText: 'Parameters'
    

    Default

    
    'button'