Missing CellMaker after loading column layout for flexgrid

Posted by: son on 2 December 2020, 1:44 am EST

    • Post Options:
    • Link

    Posted 2 December 2020, 1:44 am EST

    Hi,

    I use CellMaker to create hyperlink for a column.

    But after loading column layout, hyperlink no longer appears in flexgird. Even I assign grid.columnLayout = grid.columnLayout

    Thanks

  • Posted 2 December 2020, 12:55 pm EST

  • Posted 2 December 2020, 10:19 pm EST

    Hi,

    The cell templates are not serializable. That is why we cannot save them with the column layout because they cannot be converted to a string. When the columnLayout is loaded, all the previous columns are deleted and new ones are created. The new columns have no information about cell templates and therefore, the templates are no longer displayed.

    To resolve this, you will need to set the cellTemplate property again.

    The same issue will occur with DataMap also if you are using any.

    Please refer to the sample attached for reference.

    Regards,

    Ashwin

    CellMaker.zip

  • Posted 8 December 2020, 2:10 am EST

    Thanks for your example

Need extra support?

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

Learn More

Forum Channels