C1FlexGrid scroll position can be wrong after applying theme

Posted by: wknauf on 26 September 2022, 7:37 pm EST

    • Post Options:
    • Link

    Posted 26 September 2022, 7:37 pm EST - Updated 3 October 2022, 1:10 pm EST

    See attached sample: it fills a C1FlexGrid in the form constructor, then switches the “Row” property to two different rows.

    In “OnLoad”, a theme is applied.

    FlexRow.zip

    This results in the vertical scrollbar being rendered wrong: the scroll thumb is rendered at the top of the scrollbar - thus it seems that the first visible row is also the first row of the grid:

    But after scrolling with the mouse wheel, you see that there are more rows above the selected row:

    I found two workarounds:

    a) after applying the theme, set “c1FlexGrid.TopRow” again

    b) after applying the theme, call “BeginUpdate”/“EndUpdate”.

    This happens with 4.5.2022.576 - but I think the bug was introduced some versions before, as I remember having implemented a workaround some time ago for another grid.

    Best regards

    Wolfgang

  • Posted 26 September 2022, 9:36 pm EST

    Hi Wolfgang,

    Thank you for providing the sample. We could see the issue on our end. We have reported it to the development team and will let you know as soon as we have an update.

    [Internal Tracking ID: C1WIN-28242]

    Thanks, and Best Regards,

    Kartik

  • Posted 27 September 2022, 5:16 pm EST

    Thanks!

    Something different: I don’t receive any notifications since a few months for my own posts - only for posts that I reply to. Could you take a look at this?

    Best regards

    Wolfgang

  • Posted 28 September 2022, 11:04 pm EST

    Hi Wolfgang,

    We have escalated your observations to the concerned team for further investigation. We will let you know as soon as we have an update.

    Thanks, and Kind Regards,

    Kartik

  • Posted 6 October 2022, 11:33 pm EST

    Hi Wolfgang,

    As per the concerned team, there was some internal issue with the Email notifications, which is why the alerts were not sent for some forum posts. The Forums were under maintenance for the past few days to resolve these issues and now you should start receiving proper alerts. please let us know if the issue persists.

    Best Regards,

    Kartik

  • Posted 9 October 2022, 6:30 pm EST

    Thanks - I will keep an eye on it ;-).

  • Posted 11 April 2023, 6:48 pm EST

    Hi C1,

    any updates on the scrollbar issue?

    Best regards

    Wolfgang

  • Posted 11 April 2023, 11:26 pm EST

    Hi Wolfgang,

    We are getting in touch with the development team to get an update on this issue. We will let you know as soon as we have an update from them.

    Kind Regards,

    Kartik

  • Posted 2 November 2023, 10:50 pm EST

    Any updates on this?

    Attached is a reworked sample (current C1 version, converted to SDK style with support for .NET 4.8 and .NET 6). The issue is still present.

    FlexRow_2023-11-03.zip

    Best regards

    Wolfgang

  • Posted 3 November 2023, 12:35 am EST

    Hi Wolfgang,

    Thanks a lot for sharing the reworked sample. As per the development team, the ETA for this issue fix is the 2024v1 release. We apologize for the inconvenience this has caused you.

    Kind Regards,

    Kartik

  • Posted 13 March 2024, 4:48 pm EST

    Hi Wolfgang,

    We are glad to let you know that this issue has been fixed in the latest 2023v3(643) HF2 release. It is now available for installation from NuGet and will be available for installation from ComponentOneControlPanel in a few days.

    Best Regards,

    Kartik

  • Posted 14 March 2024, 6:40 am EST

    Great, I can confirm that it works!

    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