PDA

View Full Version : ignore change event in itemselector in pageload



hieu79vn
13 Aug 2012, 1:40 AM
Hi

I would like to ignore the change event in itemselector for the first time when I load the default selected item. How can I do?

Thank you

FoxMulder900
13 Aug 2012, 8:09 AM
You should be able to call the suspendEvents() method of the component before you select the default item, then call resumeEvents() afterwords.

hieu79vn
14 Aug 2012, 7:58 AM
Thank you FoxMulder900 ;)