diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/plugins/summary/SummaryPluginConfig.java b/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/plugins/summary/SummaryPluginConfig.java index cf848d7ba..27b514f98 100644 --- a/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/plugins/summary/SummaryPluginConfig.java +++ b/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/plugins/summary/SummaryPluginConfig.java @@ -19,7 +19,15 @@ public class SummaryPluginConfig implements PluginConfig { - private boolean removeOnEmptyData = false; + private boolean removeOnEmptyData; + + public SummaryPluginConfig() { + this(false); + } + + public SummaryPluginConfig(boolean removeOnEmptyData) { + this.removeOnEmptyData = removeOnEmptyData; + } /** * @return boolean, true will cause the plugin to remove the summary records for empty data