Hiding dynamic column name in wijmo grid

Posted by: nivishapanwar on 28 December 2020, 3:57 am EST

    • Post Options:
    • Link

    Posted 28 December 2020, 3:57 am EST

    Hello,

    I want to hide the column name of the dynamic column in my grid.

    <wj-flex-grid-column [binding]=“‘WorkflowTemplateName’” [width]=“1250” [header]= " ">

    I tried giving empty space in header but still the header is visible in the grid.

    How can I hide the column name?

    Thank you.

    Regards,

    Nivisha

  • Posted 29 December 2020, 12:58 am EST

    Hi Nivisha,

    You need to provide an empty space as the header. Your code sets the value of the header to undefined instead of empty space. Please update your code like this:

    <wj-flex-grid-column [binding]="'WorkflowTemplateName'" [width]="1250" [header]= "' '">
    

    Notice the single quotes inside the double quotes in the header.

    You may also refer to the sample link below for reference:

    https://stackblitz.com/edit/angular-ruvmnk

    Regards,

    Ashwin

  • Posted 29 December 2020, 9:30 am EST

    Thank you for the help.

    It worked.

Need extra support?

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

Learn More

Forum Channels