问题
this is exactly what I am looking for http://www.developerextensions.com/index.php/extjs-filter-row but I could not find a version which would work well with extjs 4
Its very possible that I created a false code because I am noobie in extjs so could you please help me with this or some similar extension how exactly to implement it and make it work?
Thank you very much in advance.
回答1:
You don't need to use external plugins. In Ext JS 4.1 filtering can be done easily without any plugins.
There are nice examples of both local and remote filtering in documentation.
Remote filtering
Local filtering
回答2:
Here is a grid plugin that adds filtering row below grid header. Allows remote filtering and supports pagination grids.
https://github.com/roberto-rodriguez/ExtJs_GridFilterPlugin
It works pretty well in Ext version 4.
Here is an image of what it does:
来源:https://stackoverflow.com/questions/11518853/extjs-4-grid-filtering