C1FlexGrid StarWidth + ExtendLastCol + AutoSizeRows

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

    • Post Options:
    • Link

    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

    Wolfgang

  • Posted 4 February 2019, 10:59 pm EST

    Hello,

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

    Thanks.

  • Posted 5 February 2019, 7:02 pm EST

    Sorry, probably I forgot it :frowning:

    FlexStarWidth.zip

    Best regards

    Wolfgang

  • Posted 6 February 2019, 8:53 pm EST

    Hello,

    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.

    Thanks.

  • Posted 9 September 2019, 1:19 am EST

    Hello,

    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

    http://prerelease.componentone.com/hotfixes/dotnet/C1WinForms.4_4.0.20192.382.zip

    Also, would request you to kindly verify the fix.

    Thanks,

    Ruchir

  • Posted 11 September 2019, 1:50 am EST

    Thanks, it works now!

    Best regards

    Wolfgang

Need extra support?

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

Learn More

Forum Channels