View Full Version : [INFOREQ] [2.1.0] No list event fires when list data has been rendered.
stefankendall
8 Nov 2012, 2:15 PM
All the list events fire before the list data is rendered. In ST2.0.0, both *painted* and *initialize* fired after the list data was written to the DOM.
There does not appear to be *any* way to post-process list items currently.
mitchellsimoens
9 Nov 2012, 4:43 AM
Did you try refresh with order after?
stefankendall
9 Nov 2012, 7:02 AM
refresh fires before the list row elements are on the Dom.
mitchellsimoens
9 Nov 2012, 8:22 AM
I have a feeling you didn't use the order event option. Did you try it?
stefankendall
9 Nov 2012, 8:46 AM
order: 'after', order: 'current', and order:'before' all fire too early. The list items have not yet been rendered to the dom.
'after' didn't work, but I thought I would be exhaustive anyway.
mitchellsimoens
9 Nov 2012, 8:55 AM
For when data is present at list instantiation, the resize event on the list's component kicks things off.
stefankendall
9 Nov 2012, 9:15 AM
listeners:{
resize: {
order: 'after'
}
}
Does indeed work to post-process list data.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.