I have an application that is a simple reports page. I'm using a Store with JsonP to fill my grid panel and for sending to the customized filters (since i don't want the ones which come with sencha gridpanel, not because they are useless but because i want my own filters) The thing is i want to build filters on a panel next to my gridpanel according to the data received via JsonP.

For example, the report is a bunch of employees' records with columns [code,name,nationality,age,genre]
but in my jsonP I received only nationality and genre. So my target is to create dinamically those filters by adding controls to my filters panel (empty at the begining) with button controls representing for each filter.