P

PivotGrid-AutoSizeColumnsOnLoad

This sample demonstrates how to auto-size the columns every time the view definition is changed.