You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the DataGridTextColumn is only a double click to enter the edit state, I used MaterialDesignInXAML and it can click to enter the edit state, but the DataGridTemplateColumn does not. How can I implement functionality like DataGridTextColumn
@charlesmz@JLdgu is correct that this is not really an issue related to MDIX.
However, you should be able to get the behavior you desire by simply creating your own column type derived from DataGridTemplateColumn and do something similar to what the MDIX DataGridTextColumn does.
Something like this should get your cell in edit mode with a single click, assuming the editing template you have defined above:
However, you may/will encounter issues with your bindings etc. that you will need to solve, but this should get you in the right direction. I'll close this issue for now.
Bug explanation
I have used DataGridTemplateColumn, but it doesn't enter edit mode with a single click like DataGridTextColumn does. How can I implement this feature?
Thanks
Version
4.5.0
The text was updated successfully, but these errors were encountered: