Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 519 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 519 Bytes

extjs-grid-filters

Plugin for grid filters for ExtJs 5/6

Based on the FilterBar plugin.

Usage

// Grid Panel

Ext.define('My.grid.Panel', {
  extend: 'Ext.grid.Panel',
  
  require: [
    'FilterField.filters.Filter'
  ],

  plugins: [
    ptype: 'filterfield'
  ],

  columns: [
    {
      xtype: 'gridcolumn',
      text: 'Some Column',
      dataIndex: 'some_data_index',
      filter: {
        xtype: 'combobox',
        store: ['A', 'List', 'Of', 'Selections']
      }
    }
  ]
  
});