Trigger segment "click"

Hi,

I have a segment which contains some "options" , I am looping through the options in init and want to select one of the options to be shown once page has loaded depending on a condition.

Problem to solve: Once I found the option I want to be "pre-clicked" I don't know how to have this option as "clicked" or selected from start without having to interact my self and click with the mouse.
So right now it's always the first option that is pre-selected in the list instead of an option according to my conditional in init.

Snippet: https://snippet.webix.com/mzbx0qr8

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!