0

I have filters activated on each column in this ExtJs panel grid that appear as drop downs for each column. Is there a way to make them appear automatically above each corresponding column?

Desired outcome

fiddle

Community
  • 1
  • 1
PT_C
  • 1,178
  • 5
  • 24
  • 57

1 Answers1

1

Some ideas here: ExtJs - Filter a grid with a search field in the column header

Basically you can add a text field as a sub component in the items of a column config. In that linked example they use Ext.form.field.Trigger.

Then add a listener on that field for whatever event you want to trigger the filter. In your handler, get a reference to the store and manually filter it as needed based on the text field input.

Kevin Collins
  • 1,453
  • 1
  • 10
  • 16