@cdmx/wappler_ag_grid 1.1.2 → 1.1.4
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/README.md +6 -0
- package/app_connect/components.hjson +16 -0
- package/dmx-ag-grid.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -245,6 +245,12 @@ This will keep the Actions Column fixed when scrolling horizontally.
|
|
|
245
245
|
**Actions Column Position**
|
|
246
246
|
This will set the position of the Actions Column.(Default: Right)
|
|
247
247
|
|
|
248
|
+
**Actions Column Min Width**
|
|
249
|
+
This will set the minimum width (px) for the Actions Column.(Default: 80)
|
|
250
|
+
|
|
251
|
+
**Actions Column Max Width**
|
|
252
|
+
This will set the maximum width (px) for the Actions Column.(Default: null)
|
|
253
|
+
|
|
248
254
|
**Edit Action Button**
|
|
249
255
|
This will display the "Edit Action Button" options.
|
|
250
256
|
|
|
@@ -1390,6 +1390,8 @@
|
|
|
1390
1390
|
"enableActions",
|
|
1391
1391
|
"pinActions",
|
|
1392
1392
|
"ActionsColumnPosition",
|
|
1393
|
+
"ActionsColumnMinWidth",
|
|
1394
|
+
"ActionsColumnMaxWidth",
|
|
1393
1395
|
"editActionBtn",
|
|
1394
1396
|
"editActionTitle",
|
|
1395
1397
|
"editActionTooltip",
|
|
@@ -1438,6 +1440,20 @@
|
|
|
1438
1440
|
],
|
|
1439
1441
|
"help": "Actions Column Position"
|
|
1440
1442
|
},
|
|
1443
|
+
{
|
|
1444
|
+
"name": "ActionsColumnMinWidth",
|
|
1445
|
+
"attribute": "actions_column_min_width",
|
|
1446
|
+
"title": "Column Min Width",
|
|
1447
|
+
"type": "number",
|
|
1448
|
+
"help": "Actions column min width in px"
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"name": "ActionsColumnMaxWidth",
|
|
1452
|
+
"attribute": "actions_column_max_width",
|
|
1453
|
+
"title": "Column Max Width",
|
|
1454
|
+
"type": "number",
|
|
1455
|
+
"help": "Actions column max width in px"
|
|
1456
|
+
},
|
|
1441
1457
|
{
|
|
1442
1458
|
"name": "editActionBtn",
|
|
1443
1459
|
"attribute": "dmx-bind:edit_action_btn",
|
package/dmx-ag-grid.js
CHANGED
|
@@ -75,6 +75,8 @@ dmx.Component('ag-grid', {
|
|
|
75
75
|
row_status_event: {type: Boolean, default: false },
|
|
76
76
|
enable_actions: {type: Boolean, default: false },
|
|
77
77
|
actions_column_position: {type: String, default: 'right' },
|
|
78
|
+
actions_column_min_width: {type: Number, default: null },
|
|
79
|
+
actions_column_max_width: {type: Number, default: null },
|
|
78
80
|
pin_actions: { type: Boolean, default: true },
|
|
79
81
|
edit_action_btn: { type: Boolean, default: false },
|
|
80
82
|
edit_action_title: {type: String, default: '' },
|
|
@@ -1039,6 +1041,8 @@ dmx.Component('ag-grid', {
|
|
|
1039
1041
|
filter: null,
|
|
1040
1042
|
sortable: false,
|
|
1041
1043
|
cellRenderer: actionsRenderer,
|
|
1044
|
+
minWidth: options.actions_column_min_width,
|
|
1045
|
+
maxWidth: options.actions_column_max_width,
|
|
1042
1046
|
pinned: (options.pin_actions ? options.actions_column_position: undefined),
|
|
1043
1047
|
cellRendererParams: {
|
|
1044
1048
|
buttons: [],
|