DHTMLX Docs & Samples Explorer

enableOptionAutoHeight(fl,maxHeight)

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

enables or disables list auto height

  • flag - (boolean) true/false
  • maxHeight - (int) height limitation (if a list height is bigger than maxHeight, a vertical scroll appears)