DHTMLX Docs & Samples Explorer

Index
dhtmlxtoolbar
API Methods

### setValue(itemId, value, CallEvent)

Required library edition:
Required library file: dhtmlxtoolbar.js

sets a value for a slider or an input item

- itemId - id of a slider or an input item
- value - value (int for slider, any for input item)
- CallEvent - true/false, call “onValueChanged” event for slider

        toolbar.setValue(itemId, value, CallEvent);