This is a migrated thread and some comments may be shown as answers.

expand/collapse pivot

1 Answer 169 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 08 Jun 2017, 10:44 PM

Hi, I am working with the api for test and I can't expand or collapse the field in the pivot.

Somebody can help me with this issue.

 

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 13 Jun 2017, 08:53 AM
Hello Kevin,

The Kendo UI Pivot Data Source has two methods which may help with expanding rows and columns:

- expandRow() : http://docs.telerik.com/kendo-ui/api/javascript/data/pivotdatasource#methods-expandRow
- expandColumn() : http://docs.telerik.com/kendo-ui/api/javascript/data/pivotdatasource#methods-expandColumn

We also have a runnable example which shows the correct format of the parameters expected by the methods here:

http://docs.telerik.com/kendo-ui/controls/data-management/pivotgrid/how-to/dimensions/expand-multiple-dimensions

Could you check these resources and let me know how I may assist further?

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
PivotGrid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or