enable_autoheight()

  • Parameters:
    • $autoheight: true or false. Default to false.
  • Description:
    • Use this method to set datagrid height as the same as the current window height.
  • Remark:
    • Do not use this method when multiple grids present on a single page
  • Example:
1
$dg -> enable_autoheight(true);