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/dist/impaktapps-ui-builder.es.js +9 -0
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -0
package/package.json
CHANGED
|
@@ -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"]),
|