Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

I'm trying to create a Sheet generator in Revit, using Pyrevit Add in. So by using Ironpython and WPF, I managed to create a datagrid with multiple combobox columns. However, for the tool to be ...
Abhiram Nair's user avatar
0 votes
1 answer
112 views

Why does it work this way : <DataGridComboBoxColumn Header="Format" SelectedItemBinding="{Binding Format, UpdateSourceTrigger=PropertyChanged}" ItemsSource=&...
Pavel's user avatar
  • 115
0 votes
1 answer
89 views

I'm using C# WPF .NET Core 6 with Visual Studio 2022, I have DataGrid in my window that Binds to an ObservleCollection XAML : <DataGrid x:Name="PGET_LST_SUB" AutoGenerateColumns="...
مجتبی حکیمیان's user avatar
0 votes
0 answers
187 views

I am working on a winforms project that contains a data grid view which has two combo box columns. My goal is to make the first combo box column show specific items that match with certain condition. ...
mega5800's user avatar
0 votes
0 answers
434 views

In my view model class, there is an [ObservableProperty] called EmployeesList of type ObservableCollection<Employee>. Similarly there is another [ObservableProperty] called LeavesList of type ...
Raiden Core's user avatar
  • 1,615
0 votes
2 answers
615 views

I am using C# WPF and currently, I am loading some data from the database in Datagrid. I loading more than 24,000 rows from a table in the database into DataGridComboBoxColumn, the problem is that ...
Mojtabah's user avatar
0 votes
2 answers
1k views

I want to Display data in my ComboBox inside of DataGridTemplateColumn in the DataGrid but it's empty in the binding so I decided to fill it in code behind but I couldn't access it by name! XAML: <...
Mojtabah's user avatar
0 votes
2 answers
335 views

I understand this has been asked several times but I am unable to find a toolkit that allows for a combobox in a WPF DataGrid that allows to filter and autocomplete, none of the questions provide any ...
MElSawy's user avatar
  • 27
1 vote
1 answer
669 views

I need a DataGridComboBoxColumn which should allow multiple selection. To do this, I created a DataGridComboBoxColumn populated with CheckBoxes. I handle the Checkbox selection through CommandManager....
user2330192's user avatar
0 votes
1 answer
319 views

I created a general DataTable like this, it's fine : BindingSource bindingSource1 = new BindingSource(); bindingSource1.DataSource = CreateDataTable(); dataGridView1.DataSource = ...
tp1415926535's user avatar
-1 votes
1 answer
60 views

How do we display data from database into DataGridViewComboBoxColumn in Windows form C#? My database table ticket looks like this: I want to display it into my dataGridView which has two ...
lance2k's user avatar
  • 399
0 votes
1 answer
135 views

I have a DataGridView whose DataSource property is bound to a DataTable. Said DataTable is manually populated (not from a database). I will not go into details as to how exactly this happens because ...
Martin's user avatar
  • 2,326
0 votes
1 answer
240 views

I want the first item of each combo box to be selected automatically. <DataGridComboBoxColumn SelectedItemBinding="{Binding Version}" > <DataGridComboBoxColumn....
user avatar
2 votes
1 answer
54 views

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 ...
EngineerRegex's user avatar
0 votes
0 answers
41 views

Looked at some of the suggested solutions couldn't find one that got me rolling. I have a DataGrid that gets filled with the Following Code DataGridViewBranches.AutoGenerateColumns = False ...
Gary's user avatar
  • 21
1 vote
1 answer
1k views

My end goal is to populate a DataGrid with data retrieved from a database at runtime. My methodology is to pull all the columns from that database first and then pull the corresponding data for each ...
ketar's user avatar
  • 188
-1 votes
1 answer
167 views

I have a datagrid and it has DataGridComboBoxColumn like below. When i open datagrid, 2 mouse clicks show the combox. How to show combobox when datagrid is loaded without click. <DataGrid x:Name=&...
nihasmata's user avatar
  • 692
0 votes
0 answers
337 views

In my WPF DataGrid, the data is populated from Employee class (shown below). The StateName column in the Employee class is a Combobox inside DataGrid. The Combobox is populated from the State class (...
nam's user avatar
  • 24.2k
0 votes
1 answer
401 views

Currently i have a datagrid that contains some columns. One of these columns is a DataGridComboBoxColumn. This is bound to a two classes. SelectedValueBinding is bound to my Model class property ...
BenjaminMadsen's user avatar
0 votes
1 answer
214 views

I'm trying to bind a Combobox to an object within a datagrid with little success. Object.cs: public class Object { public static IEnumerable<string> Colors => new List<string> {"Red",...
ac_nook's user avatar
  • 325
1 vote
1 answer
230 views

help me please. I have DataGrid with ComboBoxColumn and I have to change foreground text. For example: - If ComboBoxColumn have value "IT" foreground must be "Red" - If ComboBoxColumn have value "R&...
Chips's user avatar
  • 69
0 votes
1 answer
305 views

I have this problem, and I appreciate if you help me with it. I have a ViewModel with public ObservableCollection<IProfile> Profiles { get; set; } Property which fills a DataGrid. Inside the ...
Navid Quicksilver's user avatar
0 votes
1 answer
289 views

I'm trying to create a software to modify MODBUS devices, and per tag address of the device has its own tag type. I want to select it by using combobox. The strange behavior of the combobox occurs ...
Dorokun192's user avatar
1 vote
1 answer
257 views

So, I'm trying to implement a ComboBoxColumn but it's not saving the data unlike when I edit the other elements. I can choose the elements inside the ComboBox during run but it's not being saved. Even ...
FadedCoder's user avatar
  • 1,537
1 vote
1 answer
764 views

I have a DataGridComboBoxColumn that's bound to an enum. The dropdown displays the values of enum correctly, but the combobox does not display any value initially. I am trying to bind the selected ...
Marij Khan's user avatar

1
2 3 4 5
7