DHTMLX Docs & Samples Explorer

getMaxValue(itemId)

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

returns current maximal value and label of a slider

  • itemId - id of a slider
     var maxVal = toolbar.getMaxValue(itemId); // returns [maxValue, maxLabel]