Skip to content

DGV EditMode and events #224

Description

@itg-assistant

Alex Prinias asked 2016-08-31 13:32:26 UTC

Hi,

  • In DataGridView, no matter what the EditMode is, the behaviour is always onF2OrKeystroke, i.e. editing starts when either pressing F2 (cursor is positioned at the end of current cell value) or any key (current value is deleted and replaced with the pressed key). When tab is pressed to commit changes or Esc to abort changes, the focus is moved to the next cell to the right, NOT in edit mode. If OnEnter is enabled, it would be very useful to allow for continuous editing of cells.

  • After editing a cell or a row, I would like to commit changes to the database without having to press a save button. However, none of  the following events fires: CellLeave, CellClick, CellEndEdit, RowValidated, RowValidating, RowLeave. Haven't checked other events, it could of course be that you have postponed their implementation, but just to let you know.

I'm using the ..45 build.

Best,
Alex

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