Resizing Columns on a Pivot Grid

Posted by: georgekam96 on 16 November 2019, 4:18 am EST

    • Post Options:
    • Link

    Posted 16 November 2019, 4:18 am EST

    Greetings,

    It seems that the default behavior when resizing a single column on a Pivot Grid is to resize every other column, so they can have the exact same width.

    Is there a way to prevent such behavior? When the user resizes a single column we would like only that particular column to be resized.

  • Posted 17 November 2019, 10:32 pm EST

    Hi,

    We are sorry, we are unable to replicate the issue at our end. Please refer to the following demo sample for reference.

    https://www.grapecity.com/wijmo/demos/OLAP/PivotGrid/Overview/purejs

    Regards,

    Manish Gupta

  • Posted 18 November 2019, 12:52 am EST

    Greetings again,

    You can use this JSFiddle: http://jsfiddle.net/troy_taylor/3dzfe288/

    You can see that the “Sales” and “Expenses” columns are working just like we want. However, when resizing the actual “columns”, which are those marked as “Color”, every other “Color” column is resized too.

  • Posted 18 November 2019, 3:51 pm EST

    Hi George,

    Only the column that is resized should be resized. The resizing of other columns is considered as a bug. So, we have forwarded a bug report to the dev team with internal tracking id 407760.

    Regards,

    Ashwin

  • Posted 26 November 2019, 4:06 pm EST

    Hi George,

    The dev team has said that this is by design because, in the PivotGrid, the width of the column is set according to the field it is bound to. Therefore, if you will resize any of the expenses columns, the width of the Expenses field will be changed and all the other columns will also be resized too.

    ~regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels