PDA

View Full Version : Gridpanel Event to update bbar



ajay.kumar2
18 Nov 2010, 3:14 PM
I have a bbar in my GridPanel, the grid bar displays textfields like totals of a column and total rows in a grid etc..

In which event should i write my code to update the textfields in the bbar to new values when records are added or deleted.?

thanks.

Screamy
19 Nov 2010, 7:14 AM
See the add and remove events on the Grid's data store.

devtig
19 Nov 2010, 9:05 AM
Depends on how you get records into your store. If you use the store's load method, you should the store's load event.

http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Store