Flexgrid FrozenColumn width

Posted by: nzd on 24 October 2021, 8:01 pm EST

    • Post Options:
    • Link

    Posted 24 October 2021, 8:01 pm EST - Updated 29 September 2022, 12:49 am EST

    Hello,

    How do I set the frozencolumn width to “auto” or “star”?

    I have the DefaultColumnWidth set to GridLenght.Star, but the frozen columns are taking alot more space then needed.

    The first two columns are frozen, the other columns are just normal columns.

    DefaultColumnWidth="GridLength.Star"
    
    FrozenColumns="2"
    

    Regards,

    Nikolas

  • Posted 24 October 2021, 8:03 pm EST

    Addition:

    Both fronzen columns seems to have the same width, but the first one is clearly using to much space, and the column header is not that long either.

  • Posted 25 October 2021, 5:44 pm EST

    Hello,

    We are able to replicate the issue and forwarded this to the concerned team with internal tracking ID: C1-3704. We will inform you, once we have an update on the same.

    Regards

    Dushyant Sharma

  • Posted 30 June 2022, 11:21 pm EST

    Hello dushyant,

    Any updates regarding this issue?

    Regards,

    Nikolas

  • Posted 3 July 2022, 4:53 pm EST

    Hello,

    Unfortunately, This is a limitation of Blazor FlexGrid, star-columns will not expand if they are frozen.

    Blazor FlexGrid is implemented to output the cells with just HTML, there is no javascript code behind. Since the frozen columns belong to the left panel, which doesn’t scroll horizontally, the parent ScrollViewer is implemented to give the left panel the intrinsic size, and this eliminates the possibility of expanding the cells. Thus, the above behavior is by design.

    Regards

    Dushyant Sharma

Need extra support?

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

Learn More

Forum Channels