@adaptabletools/adaptable 20.1.8 → 20.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "20.1.8",
3
+ "version": "20.1.9",
4
4
  "description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -195,14 +195,16 @@ export const ColumnsSection = (props) => {
195
195
  const adaptable = useAdaptable();
196
196
  const { data: layout } = useOnePageAdaptableWizardContext();
197
197
  const [searchInputValue, setSearchInputValue] = React.useState('');
198
- // we don't want to rely on all the columns from the Grid itself
199
- // since the "Row Groups" section of the editor can determine a change
200
- // which is not reflected into AG Grid until we hit finish
201
- //
202
- // so we only rely on non-generated columns, which are the same
203
- const allColumns = adaptable.api.columnApi.getUIAvailableColumns().filter((col) => {
198
+ const allColumns = adaptable.api.columnApi
199
+ .getUIAvailableColumns()
200
+ .filter((col) => {
201
+ // since the "Row Groups" section of the editor can determine a change
202
+ // which is not reflected into AG Grid until we hit finish
203
+ // so we only rely on non-generated columns, which are the same
204
204
  return !col.isGeneratedRowGroupColumn;
205
- });
205
+ })
206
+ // if the current Layout is a PivotLayout, then we also filter out current Pivot Result Columns
207
+ .filter((col) => !col.isGeneratedPivotResultColumn);
206
208
  // however, changes in RowGroupedColumns done in the previous step
207
209
  // are reflected into the layout, so we use the latest layout.RowGroupedColumns
208
210
  // to create new columns
package/src/env.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
3
- PUBLISH_TIMESTAMP: 1748626733832 || Date.now(),
4
- VERSION: "20.1.8" || '--current-version--',
3
+ PUBLISH_TIMESTAMP: 1749212715232 || Date.now(),
4
+ VERSION: "20.1.9" || '--current-version--',
5
5
  };