@cdmx/wappler_ag_grid 1.0.4 → 1.0.5

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 CHANGED
@@ -49,20 +49,21 @@ The overrides for the "Custom" theme can be applied in the ag-theme-custom.css f
49
49
  17. **Header Height**: Height of the header row in pixels. (Default: 30)
50
50
  18. **Wrap Header Text**: This will cause long headers to wrap. (Default: true)
51
51
  19. **Auto Header Height**: The column header height is automatically set based on the content of the header cells. (Default: true)
52
- 20. **Suppress Row Click Selection**: Disables row selection on row click. (Default: false)
53
- 21. **Suppress Menu Hide**: Prevents hiding the column menu. (Default: false)
54
- 22. **Suppress Movable Columns**: Disables moving columns. (Default: false)
55
- 23. **Enable Cell Expressions**: Enables expressions in cell values. (Default: false)
56
- 24. **Animate Rows**: Enables row animation on data changes. (Default: false)
57
- 25. **Suppress Aggregation Function in Header**: Hides the aggregation function in column headers. (Default: false)
58
- 26. **Suppress Aggregation at Root Level**: Disables aggregation at the root level. (Default: false)
59
- 27. **Suppress Clipboard Paste**: Disables pasting data from the clipboard. (Default: false)
60
- 28. **Suppress Scroll on New Data**: Prevents scrolling to newly added data. (Default: false)
61
- 29. **Suppress Property Names Check**: Disables checking for duplicate property names. (Default: false)
62
- 30. **Hide ID Field**: Hides the ID Field in the Grid. (Default: false)
63
- 31. **Row Click Events**: Enables row click events. This can be used in Dynamic events => Grid Events => Row Clicked. (Default: false)
64
- 32. **Enable Row Selection**: Enables row selection. This can be used in Dynamic events => Grid Events => Checkbox Checked || Checkbox Unchecked. (Default: false)
65
- 33. **Enable Row Status Toggle**: Enables row status toggle events. This can be used in Dynamic events => Grid Events => Checkbox Checked || Checkbox Unchecked. (Default: false)
52
+ 20. **Wrap Text**: This will cause long texts to wrap in the cells. (Default: false)
53
+ 21. **Suppress Row Click Selection**: Disables row selection on row click. (Default: false)
54
+ 22. **Suppress Menu Hide**: Prevents hiding the column menu. (Default: false)
55
+ 23. **Suppress Movable Columns**: Disables moving columns. (Default: false)
56
+ 24. **Enable Cell Expressions**: Enables expressions in cell values. (Default: false)
57
+ 25. **Animate Rows**: Enables row animation on data changes. (Default: false)
58
+ 26. **Suppress Aggregation Function in Header**: Hides the aggregation function in column headers. (Default: false)
59
+ 27. **Suppress Aggregation at Root Level**: Disables aggregation at the root level. (Default: false)
60
+ 28. **Suppress Clipboard Paste**: Disables pasting data from the clipboard. (Default: false)
61
+ 29. **Suppress Scroll on New Data**: Prevents scrolling to newly added data. (Default: false)
62
+ 30. **Suppress Property Names Check**: Disables checking for duplicate property names. (Default: false)
63
+ 31. **Hide ID Field**: Hides the ID Field in the Grid. (Default: false)
64
+ 32. **Row Click Events**: Enables row click events. This can be used in Dynamic events => Grid Events => Row Clicked. (Default: false)
65
+ 33. **Enable Row Selection**: Enables row selection. This can be used in Dynamic events => Grid Events => Checkbox Checked || Checkbox Unchecked. (Default: false)
66
+ 34. **Enable Row Status Toggle**: Enables row status toggle events. This can be used in Dynamic events => Grid Events => Checkbox Checked || Checkbox Unchecked. (Default: false)
66
67
 
67
68
  # Data Type Overrides
68
69
 
@@ -377,6 +377,14 @@
377
377
  "defaultValue": true,
378
378
  "help": "The column header height is automatically set based on the content of the header cells."
379
379
  },
380
+ {
381
+ "name": "wrapText",
382
+ "attribute": "dmx-bind:wrap_text",
383
+ "title": "Wrap Text",
384
+ "type": "boolean",
385
+ "defaultValue": false,
386
+ "help": "This will cause long texts to wrap in the cells."
387
+ },
380
388
  {
381
389
  "name": "suppressRowClickSelection",
382
390
  "attribute": "dmx-bind:suppress_row_click_selection",
package/dmx-ag-grid.js CHANGED
@@ -22,6 +22,7 @@ dmx.Component('ag-grid', {
22
22
  cfilters: { type: Array, default: [] },
23
23
  wrap_header_text: { type: Boolean, default: true },
24
24
  auto_header_height: { type: Boolean, default: true },
25
+ wrap_text: { type: Boolean, default: false },
25
26
  data_changes: { type: Array, default: [] },
26
27
  data: { type: Array, default: [] },
27
28
  dom_layout: { type: String, default: 'autoHeight' },
@@ -1092,6 +1093,7 @@ dmx.Component('ag-grid', {
1092
1093
  resizable: options.resizable,
1093
1094
  wrapHeaderText: options.wrap_header_text,
1094
1095
  autoHeaderHeight: options.auto_header_height,
1096
+ wrapText: options.wrap_text,
1095
1097
  filter: options.filter,
1096
1098
  sortable: options.sortable,
1097
1099
  floatingFilter: options.floating_filter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",