Hi,
I want to use a combo that will display multi columns.
I tried to use the ultraDropDown for this purpose, but also with no success.
Is there a way to do it with UltraCombo or UltraDropDown that is Not attached to a grid?
Thanks ahead,
Yael
That link points to the documentation for v9.2, which is no longer online. Here's the same topic in 15.2.
http://help.infragistics.com/Help/Doc/WinForms/2015.2/CLR4.0/html/Infragistics4.Win.UltraWinGrid.v15.2~Infragistics.Win.UltraWinGrid.UltraCombo.html
The link you have posted is not working. Can you post new link if available please?
Thanks a lot!!!!!!
It is working now :) :) :)
Hi Yael, I just have noticed two things in the code you send me on the second palace.
ultraComboEditor1.DataSource = bsYear;
ultraComboEditor1.DisplayMember = "dtYear";You can see the how ultraCombo is working here:http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.2/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v9.2~Infragistics.Win.UltraWinGrid.UltraCombo.html
I am also attaching a sample project for your demonstration.Let me know if you have any further questions on that.Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Hi Dimi,
I appreciate your help.
I attached here a code that I wrote for that purpose, and attached a picture of what I've got:
///////////////////////////////////////////////////////////////////////////////////////
DataTable dtYear = new DataTable();
//columns:
dtYear.Columns.Add("iCode", typeof(int));dtYear.Columns.Add("sDesc", typeof(string));dtYear.Columns.Add("iYear", typeof(int));
//data in rows:
dtYear.Rows.Add(1, "good", 2000);dtYear.Rows.Add(2, "wonderful", 2002);dtYear.Rows.Add(3, "splendid", 2003);
BindingSource bsYear = new BindingSource(dtYear, "");
ultraComboEditor1.DataSource = bsYear;ultraComboEditor1.ValueMember = "iCode";ultraComboEditor1.DisplayMember = "dtYear";
//////////////////////////////
Do you know why it doesn't display also sDesc and iYear columns?
Thanks,Yael