DHTMLX Docs & Samples Explorer

setMaxValue(itemId, value, label)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtoolbar.js

sets maximal value and label for a slider

  • itemId - id of a slider
  • value - value (int)
  • label - label for value (empty for no label)
    toolbar.setMaxValue(itemId, value, label);