Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Dev Space

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

Example usage of ToggleBar Widget from HTML GUI SDK

pavloko
7 - 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>


 

1 REPLY 1
BlytheE
Alteryx Alumni (Retired)

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