I am having an ultragrid within I have a ultradropdown. I am have two data sources one for each
everything is fine except when i click drop down in the grid the values which are already in the grid for that column are becoming invisible and after a value is selected from the drop down the drop down columns are visible back in all the rows
Thank you,
Vidya
Hi Vidya,
I'm afraid I do not understand what you are describing or what the problem is. Can you explain in more detail?
My grid with My first Column being drop down. when I click the drop down selection on second row all my values in the drop down column disappear in first row as long as the drop down in second row is down as is the following pic
I have the events InitilizeLayout, Initializerow, clickcellbutton, clickcellchange but i am just adding the code
GrdDebt.DisplayLayout.Bands[0].Columns["Type"].ValueList = this.TypesDropdown; GrdDebt.DisplayLayout.Bands[0].Columns["Type"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;
in the initization of the grid
i guess you cant see the images
Mike-
Applying on the cell level the value list did work
No the Value does not disappear anywhere else other than the Value List in another row of same column . And I am also not changing the Value List Dynamically they are static values
Does the value in the first cell disappear if you click on some other cell in the second row?Or does this only happen when you drop down the ValueList in another cell. I cannot think of any reason why that would happen.
Are you changing the ValueList of the column dynamically? If you need to have a difference Values for the ValueList for each row, then you should set the ValueList on the Cell, not the column. Because you should not remove the ValueList from a cell that is still using that ValueList to translate from DataValue to DisplayText.