PDA

View Full Version : Add GridFilters/StringFilter to Toolbar??



jdkida
9 Sep 2011, 10:36 AM
Does anyone know if it is possible to add a GridFilter/StringFilter into a toolbar? I tried doing it using a StoreFilterField, however since I am using a Paging Grid it only Filters what is displayed on the first page.

Colin Alworth
15 Sep 2011, 8:56 AM
Consider that the paging setup tells the server to only send N items, and the filter will remove some of those items, without asking the server to send more.

Store filtering is done locally, so you will need to send your filter request to the server to let it limit the items sent for each page. It isnt enough to just send more items from the server - consider sending 2N items instead of N, and the user typing in a filter string which only shows items on a much later page - no items will still be visible.