enables or disables auto height of the list. The method can't be used with dynamic loading.
from version 4.0
flag | boolean | true/false |
maxHeight | number | height limitation (if the height of the list is bigger than maxHeight, a vertical scroll appears) |