impaktapps-ui-builder 1.0.196 → 1.0.199

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.196",
3
+ "version": "1.0.199",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -72,6 +72,12 @@ export const buildTable = (config: any, componentScope: string) => {
72
72
  if (config.selectKey) {
73
73
  table.config.main.selectKey = config.selectKey
74
74
  }
75
+ if (config.rowIdKey) {
76
+ table.config.main.rowIdKey = config.rowIdKey
77
+ }
78
+ if (config.parentIdKey) {
79
+ table.config.main.parentIdKey = config.parentIdKey
80
+ }
75
81
  if (config.maxPageSize) {
76
82
  table.config.main.maxPageSize = config.maxPageSize
77
83
  }
@@ -661,6 +661,9 @@ export const buildPropertiesSection = function (type: String) {
661
661
  { label: "Comfortable", value: "comfortable" },
662
662
  { label: "Spacious", value: "spacious" }
663
663
  ]),
664
+ getInputField("rowIdKey", "Row ID Key"),
665
+ getInputField("parentIdKey", "Parent ID Key"),
666
+ emptyBox("TreeEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
664
667
  buildWrapper("Tree Table Properties", [
665
668
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
666
669
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),