-
17 Jul 2010 6:35 AM #1
Add listener to grid refresh
Add listener to grid refresh
how can I add a listener to the grid refresh and the paging buttons. I have two grids and when you select a record in the first the data relevant to that record is shown in the second. however if they refresh the first grid or page forward or backwards I need to clear the second grid.
if it matters I'm using rowselect to catch the selection. like this :
Code:myGrid.getSelectionModel().on('rowselect', handleRowSelect);
-
18 Jul 2010 10:41 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
you can listen to the view's refresh event or the store's load event

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
18 Jul 2010 11:06 AM #3
It's the Store's load event you want.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
Similar Threads
-
Add a listener after Render
By albu77 in forum Ext GWT: Help & Discussion (1.x)Replies: 0Last Post: 14 Jul 2010, 10:48 PM -
Store add listener
By douggiefox in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 15 Mar 2010, 4:43 AM -
add Listener to TreeNode
By jeusdi in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 11 Mar 2009, 10:53 AM -
how to add doubleclick listener
By adun in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 3 Jun 2008, 11:27 PM -
trying to add a panel via a Listener
By JoomlaMan in forum Ext 2.x: Help & DiscussionReplies: 8Last Post: 15 Apr 2008, 10:37 AM


Reply With Quote