community
cancel
Showing results for 
Search instead for 
Did you mean: 

Dev Space

Customize & extend the power of Alteryx. SDKs, APIs, custom tools, and more!

Example usage of ToggleBar Widget from HTML GUI SDK

Meteor

Can somebody provide an example of how to use ToggleBar widget?

I failed with the following:

<ayx data-ui-props="{type: 'ToggleBar', tabIndex: 0}" data-item-props="{dataName:'Tabs'}">
<div>
First Tab
</div>
<div>
Second Tab
</div>
</ayx>


 

Moderator
Moderator

Hi @pavloko, Have you seen the HTML - GUI Library tool example that is included with Alteryx? It includes an example of how to set up the Toggle Bar within the HTMLGuiSdkGui.html file found here: C:\Program Files\Alteryx\bin\HtmlPlugins\HtmlGuiSdk