@cdmx/wappler_ag_grid 0.1.5 → 0.1.6

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.
@@ -152,6 +152,18 @@
152
152
  "defaultValue": 20,
153
153
  "help": "Number of rows to show per page"
154
154
  },
155
+ {
156
+ "name": "rowSelection",
157
+ "attribute": "rowSelection",
158
+ "title": "Row Selection",
159
+ "type": "droplist",
160
+ "defaultValue": 'single',
161
+ "values": [
162
+ {title: 'Single', value: 'single'},
163
+ {title: 'Muliple', value: 'multiple'}
164
+ ],
165
+ "help": "Row Selection (single or multiple)"
166
+ },
155
167
  {
156
168
  "name": "timezone",
157
169
  "attribute": "timezone",
package/dmx-ag-grid.js CHANGED
@@ -55,7 +55,7 @@ dmx.Component('ag-grid', {
55
55
  data: { type: Array, default: [] },
56
56
  domLayout: { default: 'autoHeight' },
57
57
  enableCellTextSelection: { type: Boolean, default: true },
58
- rowSelection: { type: Boolean, default: false },
58
+ rowSelection: { type: String, default: 'single' },
59
59
  suppressRowDeselection: { type: Boolean, default: false },
60
60
  pagination: { type: Boolean, default: true },
61
61
  paginationPageSize: { default: 20 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation",
6
6
  "license": "MIT",