Pivot grid-Change calculated PivotGridColumnField width programmatically.

5 posts, 0 answers
  1. Sagar
    Sagar avatar
    6 posts
    Member since:
    Feb 2016

    Posted 03 Mar Link to this post

    Hi,

    I want to change the width of pivot grid column programmatically. Please check the ached file for more details.

    Thanks,
    Sagar Jaunjalkar

  2. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 08 Mar Link to this post

    Hi Sagar,

    You can use the following property to achieve this requirement:
    <telerik:PivotGridAggregateField ... CellStyle-Width="200px">

    I hope this will prove helpful.

    Regards,
    Eyup
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sagar
    Sagar avatar
    6 posts
    Member since:
    Feb 2016

    Posted 09 Mar in reply to Eyup Link to this post

    Hi Eyup,

    I have already set CellStyle-Width property,but I want to set custom width for calculated column 

    e.g- <telerik:PivotGridColumnField DataField="AssignedStatus">
             <CalculatedItems>              
                  <telerik:PivotGridCalculatedItem GroupName="4_Assigned %"  /> 
                  <telerik:PivotGridCalculatedItem GroupName="5_Missing %" />
              </CalculatedItems>
             </telerik:PivotGridColumnField>

    so for column GroupName="4_Assigned %" , here I want to set custom width,Please help meto fix this.]

    Thanks,
    Sagar

  5. Sagar
    Sagar avatar
    6 posts
    Member since:
    Feb 2016

    Posted 09 Mar in reply to Sagar Link to this post

    <telerik:PivotGridAggregateField ... CellStyle-Width="200px"> not working,Please tell me for custom column.
  6. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 12 Mar Link to this post

    Hello Sagar,

    Please open a formal support ticket to send us the modified version of the sample provided in the end of the following post to demonstrate the issue:
    http://www.telerik.com/blogs/aspnet-pivot-table-made-easy

    Regards,
    Eyup
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017