FlexGridDetailProvider recalculate height

Posted by: gyoder on 30 August 2018, 2:56 pm EST

    • Post Options:
    • Link

    Posted 30 August 2018, 2:56 pm EST

    I’m using FlexGridDetailProvider in the WjFlexGrid to display children through childItemsPath. On the initial expand the height of the child row is calculate and set. Through click interactions my children content height needs to be taller to accommodate the new content. How do I recalculate the height of the child?

    I have tried calling WjFlexGrid.refresh() but that did not work.

  • Posted 31 August 2018, 3:39 am EST

    Hi,

    You may use FlexGrid’s autoSizeRow()/autoSizeRows() method to auto size rows to fit their content.

    Please refer to the following sample which implements the same:-

    https://stackblitz.com/edit/angular-pybgyk?file=src%2Fapp%2Fapp.component.ts

    If this does not fulfil your requirement then please feel free to explain more about your requirement.

    ~Sharad

Need extra support?

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

Learn More

Forum Channels