Questions tagged [datagridcomboboxcolumn]

The DataGridComboBoxColumn is a DataGridColumn implementation for ComboBox'able cells

Learn more about DataGridComboBoxColumn on MSDN.

330 questions
3
votes
2 answers

What is wrong with this DataGridComboBoxColumn binding syntax?

I've found many answers to this question, but I can't seem to get the syntax right. I've tried every logical combination I can think of given the explanation here and the many others I've found but it has still eluded me after three weeks. I just…
3
votes
1 answer

How to Hide selected item from a databounded combobox (Datagridviewcombobox)

I have a bounded combobox inside datagridview ( DataGridViewComboBoxColumn ) and I want to hide selected item of that combobox in the next row of the grid for example : combo box values are, [value 1 ] [value 2 ] …
Arun CM
  • 3,345
  • 2
  • 29
  • 35
3
votes
1 answer

Multi column combo box or DataGridCombo Box columns shrinking

I have a multi column combo box.When i use it for the first time then it works fine then when i clear it and again enter data into it,all the columns shrink and only 1-2 letters are visible from each row. But I want to display the text such as all…
3
votes
0 answers

dynamically adding DataGridComboBoxColumn to DataGrid in WPF

I'm loading programatically tables from my db model to a DataGrid in my application Whenever I identify I loaded a "Base" named column, I want to give the user the option whenever he wants to edit this value in the DataGrid to choose a value from a…
user1326293
  • 923
  • 2
  • 9
  • 24
3
votes
1 answer

sorting in DataGridComboBoxColumn in datagrid in wpf

I have datagrid which is having 1 of the column as DataGridComboBoxColumn. Displaying of existing data, binding of itemsource, updating source when selection changes is working fine. The problem is when i click on the header of the…
samar
  • 5,021
  • 9
  • 47
  • 71
3
votes
0 answers

Setting DataGrid ScrollViewer.IsDeferredScrollingEnabled="True" creates issues with DataGridComboBoxColumn Scrolling

I have an application that uses a WPF DataGrid that has thousands of rows. I was having performance issues with scrolling using the Vertical ScrollBar so I did some research and found out I can defer the loading of the rows until I finish scrolling…
Net Dev
  • 416
  • 4
  • 21
2
votes
2 answers

How can DataGridComboBoxColumn style be changed?

I need to change border style to invisible on "DataGridComboBoxColumn"... How can I do it? I hope there is another way then changing to datagridTemplate and put combobox element with my style inside....
Tom
  • 679
  • 1
  • 12
  • 29
2
votes
1 answer

WPF VB DataGridCombox DataGridRow

I have gone at this for days and cant find a solution please help. I have a WPF application I have a DataGridCombobox it has stuff in it (list of Arguments). I can also add free hand typed text into the Combobox like "Test" as shown in the graphic…
2
votes
2 answers

WPF DataGridComboBoxColumn loses value after focus is lost

after trying a lot of (not working) solutions, I hope someone can help me. If the focus of the selected row in my DataGrid is lost, the selected value of the ComboBox column will also be lost. This is my XAML-Code
ToM_ToM
  • 23
  • 2
2
votes
2 answers

DataGridView ComboBox never populates

I have a column in a DataGridView that is a ComboBox, and I cannot get it to populate. I have looked at my code over and over again, and it seems right, but can't be because the ComboBox is never populated. Here is my code. First, a static…
Mike Malter
  • 1,018
  • 1
  • 14
  • 38
2
votes
1 answer

DataGridComboBoxColumn binding to a different list that the DataGrid ItemsSource

So I am relatively new in WPF and a nice feature someone mentioned to me was the custom columns in datagrids.. So here is my question. I have two database tables, an Employee table and an Occupation table. Employee table Occupation table And as…
Hancs
  • 303
  • 1
  • 5
  • 19
2
votes
0 answers

Increase FontSize and FontWeight of DataGridColumnHeader of a WPF dataGrid in Visual Studio 2017

The FontWeight of my DataGridColumnHeader is fine while developing in visual studio 2017 but once I launch the project, the text for the DataGridColumnHeader becomes faded. This is the same for the DataGridComboBoxColumn. TextColumns work fine…
2
votes
1 answer

WPF DataGridComboBoxColumn DropdownClosed events

I am quite new to the WPF....I ran into this issue where it says "The dropdownclosed is not a routedevent". here is my code:
Heisenberg
  • 764
  • 6
  • 20
2
votes
0 answers

WPF Datagrid DataGridComboBoxColumn cells displayed value set during the AutoGeneratingColumn event

I have a DataGrid ComboBox Column that is bound to an Observable Collection of ComboBoxOption objects, these objects just contain 2 values, one that is the value displayed to the user and the other the required value. I am setting the bindings etc.…
stuicidle
  • 297
  • 1
  • 8
2
votes
1 answer

Populating Combobox column in Datagridview from data source

I need your help regarding C# datagridview. I want to generate a datagridview from a datasource. The data grid view has 4 column. Column1: firstname Column2: Last name Column3: gender Column4: Country. Country column is a combobox column. I have…
1 2
3
21 22