Pivot Table features

I am using Piyot Table for reports. I have a few questions..

1. How can I give the width and height value as 100% when the chart is in mode?

2. Can I add a print option in the toolbar?

3. How can I give width for Totals columns?


Thanks


4 Replies

MM Manikandan Murugesan Syncfusion Team March 8, 2022 12:54 PM UTC

Hi Seckin, 
 
Please find the response below. 
Query 
Comments 
How can I give the width and height value as 100% when the chart is in mode? 
Currently we are facing a problem while rendering pivot chart while given height is in percentage, and we have considered this as a bug “Pivot chart not refreshed properly when specified height is in percentage.” and logged a defect report in our database. And the fix will be available in our 2022 Volume 1 main release which is estimated to be rolled out at the end of March 2022. You can track the same by using below link. 
 
 
Can I add a print option in the toolbar? 
We can add custom toolbar options by using the "ToolbarRender" event. Moreover, the print option is now only available for the Pivot Chart. Please see the code sample below. 
 
Code Example: 
    public void ToolbarRender(ToolbarArgs args) 
    { 
        args.CustomToolbar.Add(new ItemModel 
            { 
                Text = "Print", 
                TooltipText = "Print", 
                Click = EventCallback.Factory.Create<ClickEventArgs>(this, ButtonClick) 
            }); 
    } 
    public void ButtonClick(ClickEventArgs args) 
    { 
        this.pivot.PrintChart(); 
    } 
 
Meanwhile, we have prepared a sample for your reference. Please find it from below link. 
 
 
How can I give width for Totals columns? 
By using the "BeforeColumnsRender" event, you can change the column width for each column. Please see the code below for an example. 
 
Code Example: 
    public void BeforeColumnsRender(ColumnRenderEventArgs args) 
    { 
        args.Columns[0].Width = "300"; 
    } 
 
Meanwhile, we have prepared a sample for your reference. Please find it from below link. 
 
 
 
Please let us know if you have any concerns. 

Regards, 
Manikandan. 



SK Seckin Karabacakoglu March 29, 2022 04:26 PM UTC

Hello

For the first item; I wonder if the exact time of the update, which is expected to be released at the end of March, has been determined?

tha



AP AngelinFaithSheeba PaulvannanRajadurai Syncfusion Team March 31, 2022 08:30 AM UTC

Hi Seckin,


Our Essential Studio 2022 Volume 1 release is scheduled for April 1st, 2022. We thank you for your patience in waiting for this release.


Regards,

Angelin Faith Sheeba.



MM Manikandan Murugesan Syncfusion Team April 5, 2022 03:54 PM UTC

Hi Seckin,


We are glad to announce that our Essential Studio 2022 Volume 1 Main Release V20.1.47 is rolled out and fix for the issue “Pivot chart not refreshed properly when specified height is in percentage” has been included in this release. Please refer to the following sample.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/PivotServerDemo-1790549749


We thank you for your support and appreciate your patience in waiting for this release. Please contact us if you require any further assistance.


Regards,

Manikandan


Loader.
Up arrow icon