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 to whether display group summary when grouping is collapsed. The default is true.
    • $groupColumnShow: boolean value to display group column. Default is false.
    • $hideGroup: boolean. Hide grouped rows. Default is false. (v7.1+)
  • Description:

    • Group grid values simply by specifying a column name.
  • Remark:

  • Example:
   $dg -> set_group_properties('customerNumber');