From 9ba7c490334c6710b5570d1da3ea36c317a4dcc4 Mon Sep 17 00:00:00 2001 From: Hyyan Abo Fakher Date: Tue, 2 Jul 2019 10:43:35 +0200 Subject: [PATCH] feat: seperate enableRowGroup and rowGroup --- BBjGridExWidgetColumns.bbj | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/BBjGridExWidgetColumns.bbj b/BBjGridExWidgetColumns.bbj index df8a8531..f5ffe5b2 100644 --- a/BBjGridExWidgetColumns.bbj +++ b/BBjGridExWidgetColumns.bbj @@ -231,7 +231,13 @@ class public BBjGridExWidgetDefaultColumnDefinition extends BBjGridExWidgetColum rem /** rem * (ag-Grid-Enterprise only) Set to true if you want to be able to row group by this column via the UI. rem */ - field public BBjNumber EnableRowGroup! = 1 + field public BBjNumber EnableRowGroup! = 0 + rem /** + rem * (ag-Grid-Enterprise only) Set to true To group rows by this column + rem * + rem * @see BBjGridExWidget.Columns.EnableRowGroup! + rem */ + field public BBjNumber RowGroup! = 0 rem /** rem * (ag-Grid-Enterprise only) Set to true if you want to be able to pivot by this column via the UI. rem */ @@ -239,7 +245,7 @@ class public BBjGridExWidgetDefaultColumnDefinition extends BBjGridExWidgetColum rem /** rem * (ag-Grid-Enterprise only) Set to true if you want to be able to aggregate by this column via the UI. rem */ - field public BBjNumber EnableValue! = 1 + field public BBjNumber EnableValue! = 0 rem /** rem * Set to true if no menu should be shown for this column header. rem */ @@ -663,6 +669,7 @@ class public BBjGridExWidgetDefaultColumnDefinition extends BBjGridExWidgetColum column!.addProperty("pivotIndex",#getPivotIndex().longValue(),err=*next) column!.addProperty("unSortIcon",#getUnSortIcon().booleanValue(),err=*next) column!.addProperty("enableRowGroup",#getEnableRowGroup().booleanValue(),err=*next) + column!.addProperty("rowGroup",#getRowGroup().booleanValue(),err=*next) column!.addProperty("enablePivot",#getEnablePivot().booleanValue(),err=*next) column!.addProperty("enableValue",#getEnableValue().booleanValue(),err=*next) column!.addProperty("suppressMenu",#getSuppressMenu().booleanValue(),err=*next)