Hello,
how do I get the Ultragrid instance which drops down from a ultracombo?
There is no separate UltraGrid instance. Why do you need it?
Because I implemented a function which sets automatically many grid layout settings. This function takes an ultragrid as parameter...
In the dropdownmenu of my ultracombos also appears a ultragrid whose layout I want to set by that function.
Now I set some settings manually and I matched another problem:
Is it possible to set a rowfilter as filtertype for the ultragrid which drops down from an ultracombo? I could not set it yet. I Tried the following code:
.DisplayLayout.Bands(0).Override.AllowRowFiltering = DefaultableBoolean.True
.DisplayLayout.Bands(0).Override.FilterUIType = FilterUIType.FilterRow
column.AllowRowFiltering = DefaultableBoolean.True
Next
End With
What you should do is change your method to take an UltraGridLayout instead of an UltraGrid. Or you could make it take an UltraGridBase which is the base type of the UltraGrid, UltraCombo, and UltraDropDown.
isiraider said:Is it possible to set a rowfilter as filtertype for the ultragrid which drops down from an ultracombo?
UltraCombo supports filtering, but not via the FilterRow, only via the header icons.