Creating a wrapper around WjFlexGridColumn causes grid.columns to be incorrect

Originally Posted 18 August 2017, 7:06 am EST

  • Originally Posted 18 August 2017, 7:06 am EST

    Using Angular 4.

    I've created a component "MyCustomColumn" to wrap around WjFlexGridColumn. MyCustomColumn is a basic component that creates a WjFlexGridColumn in its template.
    The columns are created in an ngFor like so:







    The columns appear in the grid, however they're not in the order of the ngFor array. This problem doesn't occur if I remove the wrapper and use the ngFor directly with a WjFlexGridColumn.

    Is there any idea why this is happening, and how to fix it?
  • Reply

    Hi,
    We are sorry, we are unable to replicate the issue at our end. Please refer to the plunker that implements the same.
    If the issue persists, please modify the plunker depicting your issue so that we can debug and assist you.

    Thanks,
    Manish Kumar Gupta
  • Reply

    I'm actually using the WjFlexGridColumn inside a template - not extending it as your sample shows. I presume then that this isn't something that's supported?
  • Reply

    Hi,
    Could you please share a sample for the investigation?

    Thanks,
    Manish Kumar Gupta
Need extra support?

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

Learn More

Forum Channels