@cdmx/wappler_ag_grid 1.5.6 → 1.5.7

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.
Files changed (2) hide show
  1. package/dmx-ag-grid.js +3 -1
  2. package/package.json +1 -1
package/dmx-ag-grid.js CHANGED
@@ -501,7 +501,8 @@ dmx.Component('ag-grid', {
501
501
  const buttons = params.buttons || defaultButtons;
502
502
  // Create a new container element to hold the buttons
503
503
  const container = document.createElement('div');
504
-
504
+ container.style.display = 'flex';
505
+ container.style.flexWrap = 'wrap';
505
506
  buttons.forEach((buttonConfig) => {
506
507
  const button = document.createElement('button');
507
508
  button.classList.add('btn');
@@ -1196,6 +1197,7 @@ dmx.Component('ag-grid', {
1196
1197
  cellRenderer: actionsRendererForPinnedBottom,
1197
1198
  minWidth: options.actions_column_min_width,
1198
1199
  maxWidth: options.actions_column_max_width,
1200
+ autoHeight: true,
1199
1201
  pinned: (options.pin_actions ? options.actions_column_position: undefined),
1200
1202
  cellRendererParams: {
1201
1203
  buttons: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",