PDA

View Full Version : [CLOSED] Build 286 - Grouper still not working



satishs
16 Feb 2012, 10:14 PM
Love the Designer 2.0 so far...

I added Grouper data utility from toolbox to store, and set root to the field I want to sort and group on. It still doesn't seem to work. Any pointers will be helpful.

Along similar lines, a doc/example/screenshot to show 'filter' usage in Designer will be great as well.

Thanks.
ST

jjohnston
17 Feb 2012, 8:28 AM
I think you're wanting to set the 'property' config on the grouper, rather than the 'root' config. Unfortunately the Sencha Touch API docs are a bit incomplete regarding grouper and its usage, but I'm attaching a simple Designer Touch project illustrating a store with a grouper, attached to a List. Hopefully that will help you.

satishs
17 Feb 2012, 8:44 PM
wonderful..Thanks. It works fine now.

pashute
11 Jun 2012, 3:40 PM
The contacts.json is not found (on the docs.sencha.com website) anymore, so the project does not load.

Could you tell us how it looks?
Probably:

Contacts: {
{ name: "Mickey", family: "Mouse", city: "Orlando" },
{ name: "Teddy", family: "Bear", city: "Jerusalem" }
}

Correct?