I have a form with a combo box and a UltraWinGrid
This UltraWinGrid is using OutlookGroupBy
One of the columns in the grid has embeded drop down boxes this column is not part of the groupby
What I need to do is make a selection on the Combo Box and with that selection set all of these
embeded dropdown boxes that are within the grid
How coulld I do this??
Thanks H.W.
Hi H. W.,
I'm havnig a hard time understanding your question. Can you explain in more detail?
Mike Saltzman
Manager - Windows Forms Development
Infragistics, Inc.
hi Mike
Basicly in this case I have a wingrid and it has a dropdown box in one of its columns. Somewhere else on the form i have a combo box with the same value list next to the combo box I have a button control Named "Update All" What I need to do is if a user selects a value in the combo boxc and clicks on the button control "Update All" I want it to update all the values in the wingrid dropdown boxes to the same value selected in the Combo box
Thanks
H.W.
Hi H.W.,
Okay, that's easy. The only tricky part of this is that if you are grouping the grid, you need to get the actual data rows instead of the GroupByRows. There are several methods on the Rows collection that will help you do this. Here's one example:
private void button1_Click(object sender, EventArgs e) { foreach (UltraGridRow row in this.ultraGrid1.Rows.GetAllNonGroupByRows) { row.Cells["My Grid Column"].Value = this.ultraCombo1.Value; } }