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

Rows and Columns "expand" is always false

1 Answer 194 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Mahdi
Top achievements
Rank 1
Mahdi asked on 02 Jul 2018, 05:21 AM

Hello
I am trying to save PivotGrid state for future load.But I have a problen: The expand property of row items is not changed at run time. Test here https://dojo.telerik.com/@Mzand/obIkEdAY : When the user expands an item at runtime the expand property of the returned row by dataSource.rows() is the same as what it was at initialization. Isn't it data-binded? Is there a way to get the value?

 


1 Answer, 1 is accepted

Sort by
0
Accepted
Preslav
Telerik team
answered on 03 Jul 2018, 12:57 PM
Hi, again Zand,

If anyone from the community encounters the same, I am pasting my reply from your support ticket on the same topic:

A possible workaround might be handling the expandMember and collapseMember events. In the event handlers based on the member, add/remove its path from a global JavaScript array.

For example:
Regards,
Preslav
Progress Telerik
Try our brand new, jQuery-free Angular 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
Mahdi
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or