impaktapps-ui-builder 0.0.5-a → 0.0.5-b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7492,6 +7492,10 @@ const buildPropertiesSection = function(type) {
7492
7492
  getRadioInputField("ColumnResizingAvailable", "ColumnResizing Available", ["YES", "NO"]),
7493
7493
  getRadioInputField("enableRowMovement", "Row Movement", ["YES", "NO"]),
7494
7494
  getRadioInputField("DragAvailable", "Drag Available", ["YES", "NO"]),
7495
+ getRadioInputField("enableExpanding", "Enable Expanding", ["YES", "NO"]),
7496
+ getRadioInputField("enableExpandAll", "Expend All", ["YES", "NO"]),
7497
+ getRadioInputField("paginateExpandedRows", "Multi Page Expension", ["YES", "NO"]),
7498
+ getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
7495
7499
  getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
7496
7500
  getInputField("selectKey", "Selection Key"),
7497
7501
  emptyBox,
@@ -10568,6 +10572,18 @@ const buildTable = (config, componentScope) => {
10568
10572
  if (config.enableRowMovement) {
10569
10573
  table.config.main.enableRowMovement = config.enableRowMovement === "YES" ? true : false;
10570
10574
  }
10575
+ if (config.enableExpanding) {
10576
+ table.config.main.enableExpanding = config.enableExpanding === "YES" ? true : false;
10577
+ }
10578
+ if (config.enableExpandAll) {
10579
+ table.config.main.enableExpandAll = config.enableExpandAll === "YES" ? true : false;
10580
+ }
10581
+ if (config.enableExpandAll) {
10582
+ table.config.main.paginateExpandedRows = config.paginateExpandedRows === "YES" ? true : false;
10583
+ }
10584
+ if (config.treeStructure) {
10585
+ table.config.main.treeStructure = config.treeStructure === "YES" ? "flatTreeMap" : false;
10586
+ }
10571
10587
  if (config.SelectionAvailable) {
10572
10588
  table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false;
10573
10589
  }