Skip to content

dataGridview BeginEdit isn't working #4947

Closed

Description

@itg-assistant

nicky suwandi asked 2026-02-25 09:36:30 UTC

Dear All

I try to migrating to VS 2026 with Wisej 4 using Net Core 10.

I have some trouble to using dataGridview to edit data.

dataGridView1.SetCurrentCell(1, 0);
dataGridView1.BeginEdit(true);

Try using code above to edit cell text, but the cell didn't change to EditMode.

There no problem when using Dataset, but dataset not supported in Net Core.

Please there any suggestion how to solve this (example in attachment)

Thanks

Nicky

Activity

  1. itg-assistant commented on Jun 17, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2026-02-25 11:22:44 UTC

    Hi Nicky,

    it's not a problem with Wisej.NET 4 or .NET Core 10.

    Just use a DataGridViewTextBoxColumn instead of a DataGridViewColumn.

    Best regards
    Frank

  2. itg-assistant commented on Jun 17, 2026

    @itg-assistant
    Author

    JD answered 2026-02-25 12:41:45 UTC

    DataSets are supported perfectly well in net 10. BeginEdit works just as well.

  3. itg-assistant commented on Jun 17, 2026

    @itg-assistant
    Author

    nicky suwandi answered 2026-02-26 03:02:46 UTC

    Thansk Franks(ITG), its working.

  4. itg-assistant commented on Jun 17, 2026

    @itg-assistant
    Author

    nicky suwandi answered 2026-02-26 03:12:22 UTC

    Dear Frank (ITG)

    Why when in Net Framework and using dataset, we can change column Type in designer,
    but in Net Core, when see in designer, column Type is disable (so we must change manual in code in file designer)

    Thanks

    Nicky

  5. itg-assistant commented on Jun 17, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2026-02-26 17:22:23 UTC

    Hi Nicky, it’s not implemented in the .NET Core designer. So you either change it in code or add a new column and delete the old one. Best regards, Frank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions