How to resize flexgrid container?

Posted by: jonathancalvino0 on 27 June 2018, 8:08 am EST

    • Post Options:
    • Link

    Posted 27 June 2018, 8:08 am EST - Updated 3 October 2022, 8:28 pm EST

    Hi,

    How can I resize flexgrid content?

  • Posted 27 June 2018, 8:10 am EST - Updated 3 October 2022, 8:28 pm EST

  • Posted 28 June 2018, 3:23 am EST

    Hi,

    The FlexGrid height and width should be set to required values and invalidate method should be called to render FlexGrid correctly with updated values.

    Please refer to the following sample for the same and code snippet:

    grid.hostElement.style.width="100%";
    grid.hostElement.style.height="100%";
    grid.invalidate();
    
    
    
    

    https://stackblitz.com/edit/js-9sxdwq?file=index.js

    ~Manish

  • Posted 28 June 2018, 10:39 am EST

    Hi,

    This solves my problem, thanks a lot.

Need extra support?

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

Learn More

Forum Channels