EasyUI Forum
March 28, 2024, 05:38:35 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: firing onSelect on tab select  (Read 5077 times)
TheunisP
Newbie
*
Posts: 14


View Profile Email
« 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
Logged
TheunisP
Newbie
*
Posts: 14


View Profile Email
« Reply #1 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 ;-)
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #2 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.
Logged
TheunisP
Newbie
*
Posts: 14


View Profile Email
« Reply #3 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!