PDA

View Full Version : is there an event on a list when store changes?



gkatz
24 Dec 2010, 2:19 AM
Hi;
is there an event that the List component fires when the store its bounded to changes? I tried render,after render,enable,activate,show but none of them work. I am probably missing something. any help would be great.
BTW, the store does fire 'dtachanged' but I am looking for something on the List it self such as 're-render' or something.
thanks.

evant
24 Dec 2010, 2:19 PM
The list always refreshes when the store changes, so just listen to the store events.

gkatz
24 Dec 2010, 5:16 PM
Thanks
I think there is room for a refresh event for the list. I need to manipulated the list's items DOM a little after the data is reloaded to the list. doing such logic on a store event does not seem very object oriented to me plus I dont know if the store event fires after the list's DOM is refreshed...