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
240
Problem inserting dropdowm in wingrid cell
posted

all, I have tried using a ultradropdown and a value list.

Here is the code for the dropdown

// set the drop down list

List<ResolveCode> resolvecodes = new List<ResolveCode>();

resolvecodes = GetAllCodes(SessionID);

int mycount = resolvecodes.Count;

this.ultraDropDown1.DataSource = resolvecodes;

ultraDropDown1.DisplayMember = "Description";

ultraDropDown1.ValueMember = "ResolveCodeID";

this.ultraWinGrid.DisplayLayout.Bands[0].Columns["Status"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDown;

this.ultraWinGrid.DisplayLayout.Bands[0].Columns["Status"].ValueList = this.ultraDropDown1;

this.ultraWinGrid.DataSource = details;

this.ultraWinGrid.DataBind();