PDA

View Full Version : Can extjs Control grouping field by data?



kent-111
3 Jan 2012, 1:09 AM
here is the example edited by cropping image grid:


1st i view like a normal grid like this imagehttp://imageshack.us/f/836/groupcontrollingb4.png/then i create a check box name as "Cuisine:American" and check it to reload become image like thishttp://imageshack.us/f/803/gridcontrollingafter.png/the group data "Cuisine:American" can be group it and expand then other data still remain the normal grid viewDoes any 1 noe example or possible to controlling the groupView like example i shown ? Hope u all can understand my question thankz.

mitchellsimoens
3 Jan 2012, 6:10 AM
I'm not 100% I follow but have you looked at the source of this example: http://docs.sencha.com/ext-js/4-0/#!/example/grid/groupgrid.html

kent-111
3 Jan 2012, 7:16 AM
This example I have seen,it jus clearing the grouping become normal grid rite?beside my image also crop by this example.

Can I said like in 1 grid panel can combine normal grid store and group store:)

mitchellsimoens
3 Jan 2012, 7:29 AM
So you want to use two stores? If so, that cannot be done within the grid.

kent-111
3 Jan 2012, 7:37 AM
Thanks for replying Mitchell Simoens .if can be done like this please update me thankz