FlexSheet - Column Header

Posted by: ashrivastav1 on 14 September 2017, 3:10 am EST

    • Post Options:
    • Link

    Posted 14 September 2017, 3:10 am EST

    Dear Team,

    Can you please suggest how can we change the text coming in the column header. I am using Wijmo 5 with Angular 2.

    I have already tried below code in “itemFormatter”, but it’s not working …

    <sheet object>.columns[c].header = ‘my header’;

    Thanks,

    Abhishek

  • Posted 14 September 2017, 3:10 am EST

    Hello Abhishek,

    You need to add sheet into FlexSheet with custom header FlexGrid. You need to use FlexGrid as a constructor argument for Sheet class. This sheet should be pushed into FlexSheet sheets collection.

    For your reference, please refer to the attached sample that implements the same.

    Hope it works!

    Thanks,

    Manish Kumar Gupta

    2017/07/FlexSheet_customHeader.zip

  • Posted 10 January 2019, 8:47 am EST

    Manish,

    Could you provide an angularjs (1.x) example?

Need extra support?

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

Learn More

Forum Channels