Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How to set CheckBox have a default of checked status of the javascript-ui in HTML SDK ?

flying008
15 - Aurora

Dear all, hello !

 

When tried to control the CheckBox to be checked by default at  loading through the code dataDemoItem.setValue(true). However, no matter what,  the CheckBox in the GUI interface is always unchecked by default.  I don’t know where the problem lies? Can you give an explanation and solution?

2 REPLIES 2
TUSHAR050392
11 - Bolide

@flying008 I am unsure why this is happening but my guess, it is due to the tool property because you can check multiple boxes probably. Have you tried using the radio button tool? It is going to work in a similar way as check box but you can only select one value at a time and the first tool is always selected as default.

flying008
15 - Aurora

Hi, @TUSHAR050392 

 

Thank you for your reply !  I'm try use only one checkbox for turn on / off a contain box, so can you help me set the checkbox have a default of checked status as loaded first?

 

 

Labels
Top Solution Authors