Skip to content

Issue with DataGridView when setting ReadOnly to false. Impossible to edit row. #483

Description

@itg-assistant

Wilfred Schønegge asked 2016-12-15 13:01:09 UTC

Hi,

I have another issue with the DataGridView. I set the grid to ReadOnly=true and only set it to false when the form is in "editmode". "Editmode" is just a variable I maintain. It is not important.

How to reproduce the issue:

  1. Run the attached project. Notice that you can not change anything in the grid, Name or GoodGuy, because the ReadOnly prorperty on the grid is true.

  2. Click the "Provoke issue" button. Now the grid is in ReadOnly=false. Notice that you can change the "GoodGuy" column that is expected. But it is impossible to edit the "Name" column.

  3. Now click the refresh button in the browser. Now it is possible to edit the "Name" column.

Hope you are able to reproduce the issue in the attached solution.

Thanks.

Best regard,
Wilfred

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions