Hi, I am using ultra combo as a Editor control in my ultra grid. Befor that I added two editor buttons in the combo.Now I want to show this combo Buttons in my column on some condition only. But i am not able to hide editor buttons of combo when I am using it as a Editor control of UltraGridColumn. Is there any way to do this?
Thank you very muchhh Matt,
I am trying this from last 4-5 hours.
When you assign a control to be used as the editor in the column, a clone is created so hiding the buttons on the control won't actually do anything if you hide them after you assign the editor. Instead, you could cast the Editor of the column to an EditorWithCombo and hide it from there, such as:
((EditorWithCombo)this.ultraGrid1.DisplayLayout.Bands[0].Columns[0].Editor).ButtonsRight[0].Visible = false;
-Matt