Check documentation for the latest version 6.0 of dhtmlxSuite enableOptionAutoHeight DHTMLX Docs

enableOptionAutoHeight

enables or disables auto height of the list. The method can't be used with dynamic loading.

void enableOptionAutoHeight(boolean flag,number maxHeight);

Deprecated

from version 4.0

Parameters

flagbooleantrue/false
maxHeightnumberheight limitation (if the height of the list is bigger than maxHeight,
a vertical scroll appears)
Back to top