How to call select box onchange event?

I have a select box on menu bar. I need to change spreadsheet content depending upon change of select menu item. Can you please help to check how to create select box and call the change event of select.

Comments

  • Hey @priyab,

    I need to change spreadsheet content depending upon change of select menu item.

    I'm assuming by "menu" you mean the spreadsheet's toolbar? If so, you can add extra elements to the toolbar quite easily by using the addView() method, here is an example: https://snippet.webix.com/eh9iwsws.

    As you can see, you can also attach events while adding a new component to the toolbar, and you are also able to reference the spreadsheet from within the added component (which then in turn allows you to call its API).

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!

In this Discussion