New to Kendo UI for Vue? Start a free 30-day trial

Definition

Package:@progress/kendo-vue-pivotgrid

Syntax:

vue
<script setup>
const { pivotProps, configuratorProps, state } = usePivotOLAPService({
    url, cube, catalog, defaultColumnAxes, defaultRowAxes, defaultMeasureAxes
});
</script>
<template>
    <PivotGrid v-bind="pivotProps" />
</template>

A Vue composable which provides data-binding to an OLAP service.

Parameters:argsPivotOLAPServiceArgsReturns:

{ pivotProps: ComputedRef​<PivotGridProps>; configuratorProps: ComputedRef​<PivotServiceConfiguratorProps>; state: ComputedRef​<{ loading: boolean }> }

Example:
vue
<script setup>
const { pivotProps, configuratorProps, state } = usePivotOLAPService({
    url, cube, catalog, defaultColumnAxes, defaultRowAxes, defaultMeasureAxes
});
</script>
<template>
    <PivotGrid v-bind="pivotProps" />
</template>