set_group_properties() *

* Please note this feature is only available in paid versions.

  • Parameters:
    • $column_name: column name for grouping
    • $groupCollapsed: boolean value indicating whether to expand or collapse grouping when displayed. ┬áThe default is false.
    • $showSummaryOnHide: boolean value indicating whether to display group summary when grouping is collapsed. The default is true.
  • Description:
    • Group grid values simply by specifying a column name.
  • Remark:
    • Single level grouping is currently supported.
    • When grouping is enabled, the followings methods are disabled:
      • set_scroll();
      • enable_rownumbers();
      • set_subgrid();
  • Example:
1
$dg -> set_group_properties('customerNumber');

No related content found.

Tags: