Skip to content

Fix DataGridTemplateColumn bug #2898

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

Merged
merged 1 commit into from
Oct 6, 2022
Merged

Conversation

amescodes
Copy link
Contributor

Add type check DataGrid columns for DataGridTemplateColumn in DataGridAssist. Fix bug (#2893) where any controls within a cell of a DataGridTemplateColumn would not respond to the first click.

Add type check DataGrid columns for DataGridTemplateColumn in DataGridAssist. Fix bug where any controls within a cell of a DataGridTemplateColumn would not respond to the first click
@Keboo Keboo added this to the 4.7.0 milestone Oct 6, 2022
@Keboo Keboo enabled auto-merge (squash) October 6, 2022 04:58
@Keboo Keboo merged commit ec81edf into MaterialDesignInXAML:master Oct 6, 2022
@csutcliff
Copy link

csutcliff commented Oct 7, 2022

Commenting in case this helps anyone else. As well as the extra click needed this was causing the following exception to be thrown for me when refreshing CollectionViews backing DataGrids with DataGridTemplateColumn(s) which had been clicked into by a user.

System.InvalidOperationException: 'Refresh' is not allowed during an AddNew or EditItem transaction.

Any eta on when this fix makes it into a release?

@nicolaihenriksen
Copy link
Contributor

@csutcliff It made it into the release (4.7.0) today 😃

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.

4 participants