Hi to all,
I'm trying some new fetures of 2009.1 release, in particular the Enhanced Filtering via UltraGridFilterUIProvider.
Great new feature .... but ... the DropDownOperator on the left in the RowFilter cell it's disappeared!!!yes I can use the options the EnhancedFilter UI, but the DroppedOut UI, IMPOV, wiil be used for second step when the user need to filter the data on the grid.
Therefore I think that the DropDownOperator must be in the RowFilter, independently if I enable the FilterUIProvider or not.
Anyone have any idea how to mantain the DropDownOperator with Enhanced Filters enabled?
What do you think about my point of view? If it's ok, I will do a a new features request.
PS: try to filter "Contains ciao" via the two ways and touch the different feel!The "old style" row filter permit you to filter the data at the speed of light , the newer permit other interesting things, but not this "frendly usability". Let me know your feel.
You can certainly show the operator manually by setting the grid.DisplayLayout.Override.FilterOperatorLocation to WithOperand; the grid will resolve the default value to Hidden when using a FilterUIProvider. The reason for this is because the FilterUIProvider creates a series of conditions, using the existing filtering infrastructure of the grid; in the case of the tree, there are several "Equals" conditions "or'd" together, while most of the other menu items create differing conditions. Changing this operator value after setting various conditions from the provider will not alter the existing conditions. Since the FilterUIProvider hands its own editor off to the grid, you wouldn't really be able to type directly into the cell either (and which I could see being an oversight, you should have the option of deleting the contents and typing in directly).
-Matt
Matt,thank you very much for the speed and the right answer ;)
If I apply grid.DisplayLayout.Override.FilterOperatorLocation to WithOperand aftersetting the FilterUIProvider the grid displays the Operand on the right.
Perfectly like what I want! An immediate, but dynamic, rowFilter, with (if the user need) the new wonderfoul UI!Thanks to Infragistics Developer guys.
Another question about the new EnhancedFilters: it's possible to set the default size or MaxDroppedItem in the new UI.It seems to short and little for some content and the sensation it's that dont use the space on the screen. Why I need to scroll if there is space on my window? ;)
Thanks again and have anice week-end.
PS: in the Enhanced UI the Custom Filter dialog box is not at the same level of UX ;)
The custom filter dialog is the same dialog that exists in the previous grid's filtering functionality. I agree that it's a bit dated and is due for a UI overhaul :-)
As for your questions related to the size and MaxDroppedItem, I'm not quite sure what you mean. I believe that the tree itself is sized, by default, to the same size that Excel uses when dropped down; I don't see why a property couldn't be added to control this size (you may want to contact support and reference this thread so that it can be looked into being implemented). However, I'm a little confused by what you mean for the MaxDroppedItem; do you want to prevent the number of items in the list from hitting a certain number? If so, you could just handle the AfterMenuPopulate event and remove any items from the list that you don't want to show up.