How to specify width of columns?

4 posts, 0 answers
  1. BitShift
    BitShift avatar
    29 posts
    Member since:
    Aug 2014

    Posted 11 Nov 2014 Link to this post

    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.

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 11 Nov 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. BitShift
    BitShift avatar
    29 posts
    Member since:
    Aug 2014

    Posted 11 Nov 2014 in reply to Pavlina Link to this post

    That applies to all the columns.  What about specifying size on individual columns like you can with a RadGrid?  
  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 12 Nov 2014 Link to this post

    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.

     
Back to Top