PDA

View Full Version : added row doesn't group in groupingview



vasa
21 Aug 2009, 3:30 AM
I added a row in groupingView , but instead of this row adding into to particular group
it makes duplicate groups.

please let me know how to add a row in groupingview enabled.

Condor
21 Aug 2009, 4:06 AM
Use addSorted() instead of add() to add the record to the store.

vasa
21 Aug 2009, 4:37 AM
Thanks condor addSorted work fine.
But i am using this.getStore().loadData(data,true) to add the new row.
Is there any way to get addSorted() behavior in this loadData() .
or is there any way i can change the data came from backend to record.
and use the addSorted().

vasa
21 Aug 2009, 5:40 AM
thanks condor i got it work using addSorted().

:)