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

How to specify width of columns?

3 Answers 99 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
BitShift
Top achievements
Rank 1
Veteran
BitShift asked on 11 Nov 2014, 01:50 PM
I cant seem to find any way to specify the widths of columns displayed.  There is CellStyle-Width property on the fields, but they dont seem to force the width to change.  Some fields with numbers are 4-5X wider than they need to be.

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 11 Nov 2014, 02:06 PM
Hello,

In order to change the pivotgrid columns width you could set the RadPivotGrid.ColumHeaderCellStyle which will force the column cells to be with the specified width.
<ColumnHeaderCellStyle Width="80px" />

Regards,
Pavlina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
BitShift
Top achievements
Rank 1
Veteran
answered on 11 Nov 2014, 02:25 PM
That applies to all the columns.  What about specifying size on individual columns like you can with a RadGrid?  
0
Pavlina
Telerik team
answered on 12 Nov 2014, 01:41 PM
Hello,

Unfortunately you can not set specific width on individual PivotGrid columns as you can with RadGrid. Please excuse us for the inconvenience caused.

Regards,
Pavlina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PivotGrid
Asked by
BitShift
Top achievements
Rank 1
Veteran
Answers by
Pavlina
Telerik team
BitShift
Top achievements
Rank 1
Veteran
Share this question
or