impaktapps-ui-builder 0.0.283 → 0.0.284
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 +7 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- 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 +1 -1
|
@@ -6925,7 +6925,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6925
6925
|
getRadioInputField("SelectionAvailable", "Selection Available", ["YES", "NO"]),
|
|
6926
6926
|
getRadioInputField("ColumnResizingAvailable", "ColumnResizing Available", ["YES", "NO"]),
|
|
6927
6927
|
getRadioInputField("DragAvailable", "Drag Available", ["YES", "NO"]),
|
|
6928
|
-
|
|
6928
|
+
getInputField("selectKey", "Selection Key")
|
|
6929
6929
|
];
|
|
6930
6930
|
} else if (type === "Radio") {
|
|
6931
6931
|
uiSchema.elements = [
|
|
@@ -8287,6 +8287,9 @@ const buildTable = (config, componentScope) => {
|
|
|
8287
8287
|
if (config.DragAvailable) {
|
|
8288
8288
|
table.config.main.enableDrag = config.DragAvailable === "YES" ? true : false;
|
|
8289
8289
|
}
|
|
8290
|
+
if (config.selectKey) {
|
|
8291
|
+
table.config.main.selectKey = config.selectKey;
|
|
8292
|
+
}
|
|
8290
8293
|
return table;
|
|
8291
8294
|
};
|
|
8292
8295
|
const buildLazyLoadingTable = (config, componentScope) => {
|
|
@@ -8304,6 +8307,9 @@ const buildLazyLoadingTable = (config, componentScope) => {
|
|
|
8304
8307
|
if (config.DragAvailable) {
|
|
8305
8308
|
table.config.main.enableDrag = config.DragAvailable === "YES" ? true : false;
|
|
8306
8309
|
}
|
|
8310
|
+
if (config.selectKey) {
|
|
8311
|
+
table.config.main.selectKey = config.selectKey;
|
|
8312
|
+
}
|
|
8307
8313
|
table.config.main.label = config.label;
|
|
8308
8314
|
return table;
|
|
8309
8315
|
};
|