6 Oct 2010 2:02 AM #1
GridView Refresh event not mentioned in API docs.
Well, it's not a real bug. However, this refresh event (Events.Refresh) fired by GridView definitely deserves it's place in API documentation. It's very (very!) useful event, because it's the only way I found so far to get notified that:
1) Data has been loaded and
2) Store is ready and,
3) View is ready.
I can use it, for example, to apply custom styles to grid rows or set some initial grid selection (I've done keeping selection between pages). Or, if it's a part of some hidden internal GXT API and I shouldn't use it anyway, there should be another way to achieve that goals.
6 Oct 2010 2:08 AM #2to apply custom styles to grid rows
6 Oct 2010 2:25 AM #3
Anyway, even if I did that this way, I would still have to listen for some event that would allow me to do the initial job (eg. apply styles). And I'd also have to listen to some events that would let me know about add/remove. And at that point things would get ugly, because store fires such events, but GridView doesn't, so I'd not be notified when view is ready, thus unable to get to rows elements in the right time (I mean new row html element, for example).
By nukusmaximus in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 9 Sep 2010, 4:01 PM
By FlexIDX in forum Community DiscussionReplies: 8Last Post: 2 May 2008, 12:00 PM
By danh2000 in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 12 Jul 2007, 8:16 AM
By cesarulo in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 12 Jun 2007, 12:42 PM