PDA

View Full Version : Filtering and sroting a grid without using col headers



Jangla
17 Mar 2009, 7:06 AM
Is it possible to sort the data in grids (JSON grid using remote sort) with controls I've added to the page manually such as check boxes, buttons and drop downs?

Reason being, I want to style my grid so it doesn't actually look like a grid at all; more of a results list from a search that people can then filter with a set of controls above the grid. It's just a little more user friendly for those that aren't technically capable and crap their pants at things as "technical" as a grid :D

17 Mar 2009, 7:23 AM
you certainly can. look at the API for the Ext.data.Store

17 Mar 2009, 7:24 AM
Try looking at the Ext.DataView if you don't want some of the heavy features of teh grid

Jangla
19 Mar 2009, 2:42 AM
OK, I've got the sorting down but filtering is proving to me more tricky. Are there any examples out there I may have missed in the standard places?