Questions tagged [celleditingtemplate]
17 questions
7
votes
2 answers
WPF: CellEditingTemplate how can I set focus on the inner control by double click or on click
I wrote a usercontrol of DataGrid with CellEditingTemplate. The DataTemplate of this editing-Template is a TextBox, and the cursor will go into the textbox by three times click, what can i do, if i want set the cursor on the textbox by double click…

yafeya
- 607
- 2
- 6
- 15
3
votes
1 answer
WPF DataGrid: CellEditingTemplate ComboBox multiple data to CellTemplate TextBox
I have googled around but with very limited luck. I have a question regarding editable WPF DataGrid; in a CellEditingTemplate a ComboBox is shown, but in CellTemplate a TextBox with corresponding ComboBox value is shown. My code looks something like…

dabor
- 127
- 1
- 3
- 13
2
votes
1 answer
Updating data binded with DataGrid control (MaterialDesign Theme) with attached behaviors using WPF MVVM?
I have a DataGrid front-end code looks like:

Bati
- 31
- 3
1
vote
1 answer
Dynamic Binding in CellEditingTemplate
Thanks in advance for the help.
I'm having to set the binding for the usercontrol which is in the celleditingtemplate(datatemplate) from the code. i.e. I have a grid with 2 datatemplatecolumns which has celleditingtemplate that points to the same…

user652112
- 11
- 2
1
vote
0 answers
WPF CellEditingTemplate and duplicated events
I've a WPF DataGrid with a DataGridTemplateColumn like this:
…

Luca Petrini
- 1,695
- 2
- 28
- 53
1
vote
2 answers
Force DataGrid into edit mode when using ListView for CellTemplate
Greetings,
In an WPF DataGridTemplateColumn I have a CellTemplate using a ListView and a CellEditingTemplate using a DataGrid.
…

si618
- 16,580
- 12
- 67
- 84
1
vote
1 answer
Disabling a CellEditingTemplate programmatically in in a Silverlight DataGrid
I have a Silverlight Datagrid, I'd like to make certain cells readonly programmatically.
Specifically I have a CellEditingTemplate, I'd like to turn the cell editing off or on depending on the value of CategoryTypeName (see the xmal below).
…

handles
- 7,639
- 17
- 63
- 85
1
vote
1 answer
ComboBox in CellEditingTemplate
I am trying to use a ComboBox in a DataGrid CellEditingTemplate, binding to an existing DataTable. When I double click the item, the ComboBox displays, but there is no data in it. I've researched different options for a couple of days, but nothing…

user3061978
- 13
- 3
0
votes
1 answer
How to preserve cellStyle change after page change or column sort in agGrid
I am using agGrid Community Version in Angular 8 project. I want to change the cell style of "Request Number" column whenever anyone edits "Business Rule Description" column in same row. Everything is working perfectly but when I change the page or…

simple user
- 349
- 3
- 22
- 44
0
votes
0 answers
CellEditingTemplate is not activated when new line is added to DataGrid in WPF
I tried to solve this problem several times. In a DataGrid I display data about financial transactions. One column is the Account class which is a navigation property (EF). I have a simple validation. The Account property should be not empty.
Here…

Istvan Heckl
- 864
- 10
- 22
0
votes
1 answer
binding combox in wpf datagrid
I have a list that I populate in the init of my viewmodel:
ListOfEmployees = new List(employeeRepository.GetEmployees(true, true));
I am trying to get a combobox in a datagrid to populate from this list.

steveareeno
- 1,925
- 5
- 39
- 59
0
votes
1 answer
Extjs 5 getPlugin doesn't work for grid
How to get access to grid cellediting plugins to call startEditbyPosition to put a particular cell in editing mode. I am using Extjs 5
I have tried below code but getPlugin doesn't work as mentioned in docs for…

nilesh
- 315
- 2
- 11
- 24
0
votes
1 answer
Binding a list of String to a DataGridTemplateColumn's ComboBox
The question might seem quite easy but I can't get it and I tried everything I've found. It works for a list of class, since I can bind on one of my class' properties, but not for a simple ObservableCollection of String.
Here's my code in Xaml…

Adrana
- 79
- 11
0
votes
1 answer
Set entire selected DataGrid row template to CellEditingTemplate
I have a question regarding WPF DataGrid. For the sake of IDataErrorInfo validation I would like to set the entire selected row as editing - by that I mean setting every cell's (in that row) data template from CellTemplate to…

dabor
- 127
- 1
- 3
- 13
0
votes
1 answer
IDataErrorInfo validation in DataGrid with CellTemplate and CellEditingTemplate
I'm having trouble concerning validation in DataGrid. I'm using IDataErrorInfo validation in model classes.
The problem is in editable DataGrid with separate CellTemplate and CellEditingTemplate (Note is a not-null property - validation returns…

dabor
- 127
- 1
- 3
- 13