Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to do modal inline editing, MVVM-style #134

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

symbiogenesis
Copy link
Collaborator

@symbiogenesis symbiogenesis commented Dec 10, 2023

This adds a RowToEdit property to the DataGrid and an EditCellTemplate property on each column.

This also updates the sample to show how one might be able to take advantage of it.

It currently only supports editing one row at a time. Multiple edit mode could be added in the future.

With the regular CellTemplate, by default a label is used, when no CellTemplate is defined. Similarly, by default, an Entry control is used, when no EditCellTemplate is defined.

Fixes #135

@symbiogenesis symbiogenesis changed the title Add ability to edit rows, MVVM-style Add ability to do inline editing, MVVM-style Dec 10, 2023
@symbiogenesis symbiogenesis changed the title Add ability to do inline editing, MVVM-style Add ability to do modal inline editing, MVVM-style Dec 10, 2023
@symbiogenesis symbiogenesis merged commit a2a336f into akgulebubekir:main Dec 15, 2023
2 checks passed
@symbiogenesis symbiogenesis deleted the edit-template branch December 15, 2023 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Built-in support for modal inline row editing
1 participant