Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
455
ultraDropDown as a column field
posted

Hi,

I would like for the resources column of the ultraWinGanttView to display a dropdown box instead of a text box.  I have added the code below, but it keeps the gantt chart itself from rendering.  What am I missing? 

partial class BindingForm

{

        public Infragistics.Win.UltraWinGrid.UltraDropDown resourcesDropDown;

     private void InitializeComponent()

     {

           this.resourcesDropDown = new Infragistics.Win.UltraWinGrid.UltraDropDown();
           this.resourcesDropDown.DataSource = terminal.resourceList;
           this.resourcesDropDown.DisplayLayout.Bands[0].Columns.Add("Resource");
           this.resourcesDropDown.DisplayMember = "Resource";
           this.resourcesDropDown.ValueMember = "Resource";
           this.ultraGanttView1.GridSettings.ColumnSettings[TaskField.Resources].ValueList = this.resourcesDropDown;

     }

}

In another Terminal, I have the list initialized this way:

public class Terminal

{

     public List<string> resourceList;

    public void Init()

    {

            resourceList = new List<string>();
            resourceList.Add("041.000.031.012");
            resourceList.Add("041.000.031.013");
            resourceList.Add("041.000.031.014");

    }

}

Thanks in advance,

Myca

Parents
No Data
Reply
  • 21795
    Verified Answer
    Offline posted

    Hello Myca,

    I am just checking about the progress of this issue. Let me know if you need my further assistance on it.

    Thank you for using Infragistics Components.

Children
No Data