PDA

View Full Version : Gridpanel and Grouping



Voyd
7 May 2012, 8:41 AM
I have a gridpanel backed with a store with two different groups, "Person" and "Business." You can delete/edit/add the records in this store, and everything gets put in its proper place. The problem is, when you delete all items from a single group. The group header disappears, and when I try to add a new item, it throws the following error.

Uncaught TypeError: Cannot read property 'name' of undefined

I am assuming that it doesn't know about my group anymore since it has disappeared on delete. So, what to do about this problem? I have looked at the configs and such with no luck.

Voyd
7 May 2012, 8:46 AM
Nevermind, I was using the wrong ftype "groupingsummary" when I should have been using "grouping".