So from some other reading I've found that setting an UltraDropDown to use a FilterUIType FilterRow is no possible:
http://www.infragistics.com/community/forums/p/3461/19082.aspx
While the filtering in the ultradropdown meets the requirements in functionality, the desire is to keep a standard for filtering consistent and the standard for all other parts of the application is to use the FilterRow. So my question is this, is there a way to display an ultrawingrid in a dropdown so that I can have the FilterRow instead of using an ultradropdown?
Thanks.
Hello Manerma,
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
Or you could do this:
UltraComboEditor - Can I Use a Custom Control for the DropDown? - Infragistics Community
A possible approach to achieve this might be by hooking to the 'BeforeCellListDropDown' event of the 'UltraGrid', cancel the pending action and show a separate grid:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
{
e.Layout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
e.Layout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
ValueList l = new ValueList();
l.ValueListItems.Add("!");
e.Layout.Bands[0].Columns[2].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDown;
e.Layout.Bands[0].Columns[2].ValueList = l;
}
private void ultraGrid1_BeforeCellListDropDown(object sender, Infragistics.Win.UltraWinGrid.CancelableCellEventArgs e)
e.Cancel = true;
ultraGrid2.Show();
Using this approach, you would be responsible for the grid's visibility, location, size and value retrieval.
Please feel free to let me know if a question about our tool set comes up on your mind.