DHTMLX Docs & Samples Explorer

setValue(itemId, value, CallEvent)

Required library edition: This method works with any edition of DHTMLX library
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);