Questions tagged [datagridviewcombobox]

263 questions
0
votes
1 answer

C# datgrid view combobox cell binding

I need two combo box cell in my data grid view that when we select item in first one the second binding source should be change to something for example : we select a bank name from the first combo box the second combo box item should be the items…
Carol
  • 1
  • 2
0
votes
2 answers

jeasyUI how to get attr ID in combogrid?

$('#mustGetID').combogrid({ panelWidth:500, panelHeight:250, url: 'get_item.php', queryParams: { id_item: row.id_item }, idField:'id_item', textField:'name_item', mode:'remote', fitColumns:true, …
0
votes
1 answer

What do I do If the value of a datagridviewcombobox is not in the datagridviewcomboboxcolumn datasource?

I've got a situation where the drop down list has to contain only 'active' objects. However this doesn't mean the current combobox value will be in the list (it was selected at a time that object was active, but is not active anymore). As things are…
Isaac Bolinger
  • 7,328
  • 11
  • 52
  • 90
0
votes
1 answer

set DataGridView ComboBoxColumn selectedIndex from DataGridView BindingSource

DataGridViewComboBoxColumn has a datasource, which contains a list of names. DataGridView contains a separate datasource, which contains index for the list above. Is there anyway for set the DataGridViewComboBoxColumn selectedIndex using datasource…
John Le
  • 3
  • 2
0
votes
2 answers

Progress bar taking 20 seconds to start when it should start right away after selecting a value of a combobox in C# WindowsForms

I am having an issue with my program. my program will let the user select a dropdown value and after they select the dropdown value the datagridview should load with the data from a table, and then the progress bar should start the percentage 1 to…
FunCoder
  • 147
  • 1
  • 2
  • 16
0
votes
1 answer

Validation tool tip appears twice on datatemplate combobox + Catel

Any idea why i get 2 "tool tip" messages of validation in this control in the combobox inside the datagrid on edit mode when i hover over it. In the validation summary it only appears once. On the DatagridTextColumn the validation "tool tip" appears…
0
votes
0 answers

How to bind List data with DataGridComboBoxColumn

Xaml Code below :
user70976
  • 41
  • 1
  • 4
0
votes
1 answer

Display item value to specific datagridcolumn selected from datagridcomboboxcolumn and dynamically compute for the total for each selection

I am developing windows form using c# and using datagridview object. I am almost done but I have a problem with displaying item value to a specific column(PTS GAIN COLUMN) that I selected in a comboboxcell all inside datagridview. Data is selected…
0
votes
1 answer

Add items to a DataGridView ComboBox

I have a WinForm app. On the form's Load() I'm running the below code in an attempt to load the dropdown contents of a ComboBox in a DataGridView on the form. When the form is loaded and displayed, nothing appears. What have I missed? using…
Walt
  • 1
  • 1
0
votes
0 answers

why do we need to define data source property for datagridviewcell as well as datagridviewColumn in c# while hosting a custom cell in datagridview?

I have searched around for this but I can not find any reason because on MSDN there is an example of hosting datetime picker and numeric updown control where they alter only it's view but I need to pass datasource as we pass in combobox . I already…
0
votes
1 answer

Retrieve combo value from DataGridViewComboBoxColumn & Row index from DataGrid

I am using a DataGridView control in VB.Net and one of the columns is an unbound DataGridViewComboBoxColumn. User can select one of 4 entries in the combo control. I need to determine what the combo box content/selection actually is. At present, I…
user6167266
  • 41
  • 11
0
votes
1 answer

DataGridView with dropdown column

I got back to VB.NET after being some years abstinent to VB. Offcourse you can do everything with the designer, but. I want to implement database functionalities by code. I have a DataGridView which will be filled like I expect. Changes will be…
pia-sophie
  • 505
  • 4
  • 21
0
votes
1 answer

Winforms ComboBoxColumn value not valid

I'm using a DataGridView in Winforms to display User Information and the Roles they have. Since I would like to use the same grid to be able to UPDATE the role I change the last DataGridViewTextBoxColumn for a DataGridViewComboBoxColumn and set…
0
votes
0 answers

DataGridViewComboBoxCell failing to retain choice, auto-selecting item at '0' th index of collection

As clear from the title, my datagridviewComboboxCell, which I am adding to selected cells only, are showing it's dropdown list perfectly, and I can select them seamlessly. Problem arises when the combobox losses focus, it forgets everything about…
0
votes
1 answer

DataGridView Cascading/Dependent ComboBox Columns

So I work from time to time in Winforms on a legacy app and am not familiar with best practices at all times with binding objects. Basically I have a three part set where I have two people, they may have only one product, but that product could…
djangojazz
  • 14,131
  • 10
  • 56
  • 94