C1FlexGrid StarWidth + ExtendLastCol + AutoSizeRows

Posted by: wknauf on 4 February 2019, 2:20 am EST

  • Posted 4 February 2019, 2:20 am EST

    Hi C1,

    see attached sample: a grid is created with some columns. Three columns (among which is the last column) have a StarWidth. "ExtendLastCol" is set to "true".
    When calling "AutoSizeRows" (this happens when the button is clicked), the last column loses the StarWidth and is now a fixed size column.
    This does not happen if "ExtendLastCol" = false.

    "ExtendLastCol" actually does not make sense here, but in our app, all grids inherit from a base class, and here ExtendLastCol is set to True.

    I would expect it to be ignored it "StarWidth" is set for any col.

    Best regards

  • Replied 4 February 2019, 10:59 pm EST


    it seems that the sample is not attached properly. Could you please attach the sample again.

  • Replied 5 February 2019, 7:02 pm EST

    Sorry, probably I forgot it :-(


    Best regards

  • Replied 6 February 2019, 8:53 pm EST


    Thanks for the application. I am able to replicate the issue with the latest build.
    I have escalated the issue to our development team(ID 366159) and will inform you once I get any information from them.

  • Marked as Answer

    Replied 9 September 2019, 1:19 am EST


    We are happy to let you know that the issue you reported has been fixed in the latest release version. You can download the same from here: http://prerelease.componentone.com/hotfixes/dotnet/C1WinForms-452_4.5.20192.382.zip
    Also, would request you to kindly verify the fix.

  • Replied 11 September 2019, 1:50 am EST

    Thanks, it works now!

    Best regards

Need extra support?

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

Learn More

Forum Channels