I have an Ultrawebgridcolumn of type dropdownlist. I want to assign the values to the dropdown of each row with different values based on some criteria. How can I add that?
I have this function where I set the text values of some fields.
private void uwg_xGrid_InitializeRow(object sender, Infragistics.WebUI.UltraWebGrid.RowEventArgs e)
How can i make use of this function or any other way ? Please help . I am getting stuck at this point for this.
Hello Yi,
Great sample how to build ValueList /DropDown/ at runtime you can refer on the following link :http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.1/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v10.1~Infragistics.Win.UltraWinGrid.UltraGridColumn~ValueList.html
Hope this helps.
The problem is when I set the valuelist based on each row, the valuelist of the other rows are also getting changed since the dropdown field acts like a template. I am unable to define different valuelists for each of the row.
This sounds like a limitation with dropdown fields.
Any help would be highly appreciated.