AdaptableComputedPivotView
Declared in src/modules/transient/computed/State.ts
This is a runtime type and you should not use it directly. For the type of the configuration object, see AdaptablePivotView.
For the computed table view, see AdaptableComputedTableView.
It will be used for callback or functions that will have the runtime computed view that has all the information available and ready to use.
#Properties
#aggregationTypesrequiredRecord<string, AggregationType>
Resolved aggregation types (built-in + configured), by id.
#availableColumnsMaprequiredRecord<string, AdaptableColumn>
#columnSortingrequiredAdaptableColumnSorting[]
Specifies the sort order for columns in the current view.
#contextMenurequiredContextMenu | null
#customSortsrequiredCustomSort[]
#dataSourcerequiredResolvedDataSourceConfig
Resolved data-loading config: instance < viewDefaults < view (per key).
#dataTypeToFilterTyperequiredPartial<Record<AdaptableDataType, FilterType>>
#dataTypeToSortTyperequiredPartial<Record<AdaptableDataType, SortType>>
#dateFormatrequired(date: Date) => string
#excludeColumnsstring[]
These columns will not be made available to the view, even if they are defined in the globalEntities.availableColumns.
If a view.columnOrder includes any of these columns, they will be ignored.
#filterTypesrequiredRecord<string, FilterType>
Resolved filter types (built-in + configured), by id.
#flashingCellsstring[]
#gridFilterExpressionrequirednull | string
#groupRenderStrategyrequired'single-column' | 'multi-column'
#idrequiredstring
View id.
This is the identifier of the view - mention this in AdaptableViewState.currentViewId to switch to this view.
<script setup lang="ts">
import { Adaptable, type AdaptableUserState } from '@adaptabletools/datagrid-vue';
import { data } from '';
const defaultState: AdaptableUserState = {
view: {
currentViewId: 'main',
views: [
{
View id - will be used in the currentViewId
id: 'main',
label: 'Main',
},
],
},
};
</script>
<template>
<Adaptable.Provider adaptableId="app" primaryKey="id" :data="data" :defaultState="defaultState">
<Adaptable.Workspace />
</Adaptable.Provider>
</template>The id of the view: the id of its AdaptableBaseView.
#includeColumnsstring[]
Only those columns will be made available to the view.
If the view.columnOrder specifies other columns, they will be ignored.
#keyboardNavigationrequiredAdaptableKeyboardNavigation
How the arrow keys move around the grid: 'cell' moves an active cell, 'row' moves an active row and false turns keyboard navigation off.
When omitted, it is taken from viewDefaults.keyboardNavigation, and otherwise follows the selection mode: 'row' for 'single-row' and 'multi-row', 'cell' for the other modes.
#labelrequiredstring
The label of the view.
#multiSelectTargetrequired'all' | 'visible'
selection.multiSelectTarget for multi-row selection, 'all' otherwise.
#multiSelectWithrequired'click' | 'checkbox'
selection.multiSelectWith for multi-row selection, 'checkbox' otherwise.
#permissions{ … }
#pivotAggregationColumnsAdaptablePivotAggregationColumn[]
#pivotColumnsrequiredAdaptablePivotViewColumnConfig[]
#pivotGroupColumnsAdaptablePivotGroupColumn[]
#privateEntitiesAdaptableStateEntities
#quickSearchrequired{ … }
#
activeCellStyleQuickSearchState['activeCellStyle']resolves toAdaptableCellStyle | undefined#
activeTextStyleQuickSearchState['activeTextStyle']resolves toAdaptableCellStyle | undefined#
highlightCellStyleQuickSearchState['highlightCellStyle']resolves toAdaptableCellStyle | undefined#
highlightTextStyleQuickSearchState['highlightTextStyle']resolves toAdaptableCellStyle | undefined#
searchTextQuickSearchState['searchText']resolves tostring | undefined
#removedAggregationTypesrequiredRecord<string, AggregationTypeLayer>
Aggregation type ids removed with false, and the layer that removed them.
#rowGroupsStateAdaptableRowGroupsState
Which row groups are expanded or collapsed. Same shape as Infinite Table's groupRowsState. Discarded automatically when the view's grouping changes, since group keys from the previous grouping are no longer valid.
#selectionAdaptableSelection
Describes the selection mode of the view and, optionally, the selected rows or cells.
When mode is omitted, it is inferred from value, then taken from viewDefaults.selectionMode, and finally defaults to 'multi-cell'.
#
modeAdaptableSelectionModeThe selection mode of the view.
#selectionModerequiredAdaptableSelectionMode
#selectionValueAdaptableComputedSelectionValue
#showColumnFiltersrequiredboolean
#showTotalColumnsfalse | 'start' | 'end'
#singleColumnSortrequiredboolean
#sortTypesrequiredRecord<string, SortType>
#sourceViewIdstring
When this view was created via clone, the id of the view it was cloned from (or that view's own sourceViewId). Used by persist hydration so non-serializable members (functions) resolve against the authored ancestor view.