EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: TheunisP on February 02, 2017, 05:01:32 PM



Title: firing onSelect on tab select
Post by: TheunisP on February 02, 2017, 05:01:32 PM
Hi all, I was wondering if I can fire the onSelect event when I select the tab via code, is this possible at all? Thanks


Title: Re: firing onSelect on tab select
Post by: TheunisP on February 02, 2017, 10:27:26 PM
or is there a way that I can kick of the event by myself - just started playing with easyUI so not up to speed yet ;-)


Title: Re: firing onSelect on tab select
Post by: stworthy on February 03, 2017, 03:23:02 AM
You can call 'select' method to select a specified item. This method will trigger the 'onSelect' event.


Title: Re: firing onSelect on tab select
Post by: TheunisP on February 14, 2017, 01:08:43 PM
I got it figured it out - was just tired when I did this - the problem was the sequence of how I setup the onSelect events - moved them into the correct sequence - and vioila!

Thnx for the reply - it made me look at the problem again from a different angle