Typing in a truedbgrid cell in an edited row consumes the first character typed

Posted by: paulhaffner on 3 November 2022, 11:42 am EST

    • Post Options:
    • Link

    Posted 3 November 2022, 11:42 am EST

    Since upgrading from 2020v1 to 22v1 a problem occurs when editing cells in a truedbgrid. The sequence to producing the error is critical and must be followed exactly.

    1. Start with a fully editable grid of data.
    2. Click a cell with the mouse on any chosen row.
    3. Start typing so as to automatically enter edit mode.
    4. After typing into the cell, click with the mouse on another cell on the same row.
    5. Start typing so as to automatically enter edit mode. Typing the sequence “123” is useful, because it clearly illustrates the error.
    6. Note that when typing the second cell on the edited row, the first character typed is consumed and does not appear. So, if you type “123”, what you get is “23”.

    Note that the issue does not occur if cell navigation is carried out using the arrow keys. Mouse clicking is essential to causing the error.

    Please advise soonest as this is causing a lot of adverse user feedback since we updated all our apps to 2022v1.

  • Posted 4 November 2022, 12:38 am EST

    Hi Paul,

    We tested the behavior you mentioned with the 2020v1(424), 2022v1(557), and 2022v2(576) releases but we could see the issue on our end. The behavior seems similar in all of the builds. Kindly refer to the attached sample we used to replicate the behavior.

    Could you please provide a small sample OR update the attached sample to reproduce the issue you are facing, so we can investigate it further and assist you accordingly?

    Attachment: Tdbg_EditSample.zip

    Thanks, and Best Regards,

    Kartik

  • Posted 4 November 2022, 9:07 am EST

    Hi Kartik,

    My mistake, I am using 2022v2, not v1 as I said earlier. The specific build is

    C1.Win.C1TrueDBGrid.4.5.2.dll v4.5.20222.566

    Also, I could not get your sample project to run on my system at all. It always fails on compile saying there are no references to C1TrueDBGrid.

    Paul

  • Posted 7 November 2022, 2:12 am EST

    Hi Paul,

    We could reproduce the behavior you mentioned with the 2022v2(566) release. Furthermore, we tested the behavior with the latest 2022v2(576) hotfix release and the issue seems to be fixed. Therefore, we suggest you upgrade to the latest 2022v2(576) hotfix release and let us know if you still face the same issue with this release. We have attached the sample with 2022v2(576) NuGet packages for your reference.

    To upgrade to the latest hotfix release, you can either use the ComponentOne Control Panel utility to install the latest version in your system OR you can directly install the latest packages from NuGet. the steps to upgrade the controls and NuGet link is given below.

    (https://www.nuget.org/packages/C1.Win.C1TrueDBGrid/4.5.20222.576)

    Steps to install the Hotfix releases from C1 Control Panel:

    In the C1 Control Panel,

    (1) Go to PRODUCTS > BUILD REPOSITORY tab

    (2) Check the Include prerelease and hotfix versions checkbox

    (3) Expand the WinForms Edition node.

    (4) Click the Update button for the required .NET framework.

    (5) Click the Update to latest version option.

    (6) Click the UPDATE button.

    Attachment: Tdbg_EditSample_updated.zip

    Best Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels