iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
How do I HIDE a tab in WebTab?
Hi George,
Unfortunately, we don't have API to hide the tab. RIght now, we can disable/enable the WebTab or close the tab.
Code snippet for Closing the tab:
function Button1_onclick() { var webTab = ISGetObject("WebTab1"); var webTabItem = webTab.TabPages.GetNamedItem("Tab1"); webTabItem.Close(); }
Code snippet for enable/disable the tab:
function Button2_onclick() { var webTab = ISGetObject("WebTab1"); var webTabItem = webTab.TabPages.GetNamedItem("Tab2"); webTabItem.Disable(); } function Button3_onclick() { var webTab = ISGetObject("WebTab1"); var webTabItem = webTab.TabPages.GetNamedItem("Tab2"); webTabItem.Enable(true); }
If you need the API, you can post it as feature request in Developer Network>Community Center>Product Feedback.
Regards,
Julia
How about instead of a different property we change it to a method like
...webTabItem.Enable(true/false); ???
Best,
Chuck
Hi Charles,
Sorry for my last snippet. Actually you don't have to set true in webTabItem.Enabled. So, the snippet for enabling the WebTab is :
function Button3_onclick() { var webTab = ISGetObject("WebTab1"); var webTabItem = webTab.TabPages.GetNamedItem("Tab2"); webTabItem.Enable(); }
Setting it to true or false will take no effect since it belongs to enable() behavior. That's why for disabling the WebTab, you still have to use webTabItem.Disable(). Thank you.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname