Is there a way to set edit triggers on the cell level? I need that in the same column, some of the cells will have a different edit trigger value from other cells (depends on a certain bushiness logic condition that can be implemented in a converter, for example).
3 Answers, 1 is accepted
answered on 17 Nov 2016, 11:04 AM
EditTriggers can be set only on Column or RadGridView level. However, you can mimic this behaviour by handling the PreviewMouseDown event in this way:
Thanks. Actually I find this approach inappropriate to my specific needs, but I found another solution -
1) The EditTrigger of the grid is always set to "CellClick".
2) The visibility of the CellEditTemlpate is bounded to a converter, that returns "Visible" in case the cell should be editable and "Hidden" in case not. This gives the user an illusion that the cell is not in edit mode, even though it is.
answered on 23 Nov 2016, 01:12 PM
I am glad to hear that
I will research the possibility of exposing an EditTriggers property of the GridViewCell. I will update this thread when the research is finished.
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.