Get KoolPHP UI with 30% OFF!

Add a tab to the first position

Jayme
Hello.
How can I add a tab to the first (left) position using JavaScript ?
I would like to add a tab to the left of the whole control when the user selects a item on a drop down list.
Another option could be rename the the left tab.
Thank you very much.
Kind regards.
Jayme Jeffman
Posted Jul 12, 2016 Kool
Peter
Hi Jayme,
You may add a tab then move them in to front using the moveToFront function:
http://doc.koolphp.net/Controls/KoolTabs/Javascript/KoolTabsItem_Class/index.php#moveToFront
Here is the addTab function, just in case
http://doc.koolphp.net/Controls/KoolTabs/Javascript/KoolTabs_Class/index.php#addTab
Let us know if you need further assistance.
Regards,
Peter
Posted Jul 13, 2016 Kool