Posted 14 September 2017, 12:03 pm EST
Hello Prudhvi,
Thanks for reporting the issue. We are able to replicate the issue at our end for column width changing on sorting and collapsed rows gets expanded on sorting. It requires further investigation so this issue has been escalated to the concerned team for further investigation with tracking is 259119.
We will let you know as soon as we get any update on this.
You can get width for each column and store in localStorage inside resizedColumn event and set column width again in sortedColumn event as a work around. This will prevent the resizing column on sorting.
For row expansion on sorting, currently there isn’t a workaround for this.
ColumnLayout gets applied on PivotGrid but it depends on the Event where you are trying to set it.
For your reference, please see the attached sample that implements the same.
Thanks,
Manish Kumar GUpta
2017/05/Olap_preserveColumnWidth.zip