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. The method can't be used with dynamical loading.

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