Column header shows double bar for hidden column

Posted by: david.sheppard on 26 July 2020, 6:59 am EST

    • Post Options:
    • Link

    Posted 26 July 2020, 6:59 am EST

    When I set the visible property of a column to false the column header still shows the double bar. The user can use the bar in the header to adjust the width of the hidden column and make it show the column. It is as if setting the column visible to false just makes the column width very small in the header but does not make the column not visible.

    I am using 13.45 version.

  • Posted 26 July 2020, 7:34 am EST - Updated 30 September 2022, 1:29 pm EST

    attached is a screen capture. There are two hidden columns.

  • Posted 27 July 2020, 7:41 am EST

    Hello David,

    To prevent the user from using the bar in the header to adjust the width of the hidden column, you can set its Resizable property to False.

    Further, if you want to hide the double border of the hidden columns from appearing, you can set the LegacyBehaviors property to Style.

    Regards,

    Ruchir

  • Posted 27 July 2020, 8:13 am EST

    Thank you. I had forgotten about the resizable property.

    I have been setting LegacyBehaviors to None for all of my old projects because I assumed that there was an alternate method to achieve the same goal. I will do some research on the Style legacy behavior.

  • Posted 27 July 2020, 3:53 pm EST

    [quote=“david.sheppard”]

    Thank you. I had forgotten about the resizable property.

    I have been setting LegacyBehaviors to None for all of my old projects because I assumed that there was an alternate method to achieve the same goal. I will do some research on the Style legacy behavior.

    [/quote]Sure, please let us know if need further assistance.

    ~Regards,

Need extra support?

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

Learn More

Forum Channels