So, here is something very weird that is happening in my application
I have one control, TMyControl, with an ultragrid in it. And I have this TMyControl in 4 forms in my application
in 3 of the forms, when I hover the mouse over the filter row/cell it shows a dropdown with the filter options and the clear filter button. But in one of my forms, if I hover the mouse over the filter row nothing is shown until I click the filter cell. And it gets more interesting... Say I have 5 columns. if I click on the filter cell of column 2. Column 0, Column 1, and Column 2 now show the controls when hovering the mouse over these columns. But the other columns to the right the one I clicked wont show...
Would anyone have any clue for me to figure it out?
I'm clueless right now..
Hi Monica,
I assume when you said TMyControl you are referring to a custom UserControl ? Can you provide us a sample of this UserControl.
The other issue you mentioned was about having five columns in Grid and some controls placed in its columns. What are the controls that you used inside this Grid? When you click on the filter cell of a column the columns to the left are visible and they show the controls placed inside them, and the columns to the right are not visible. Do you have any code in your user control that modifies the filter conditions on columns?
To look further in to this issue, I need a sample with this issue reproduced in it. Can you please send me a sample that demonstrates this behavior?
Sincerely,Sahaja KokkalagaddaAssociate Software Developer, Windows Formshttp://www.infragistics.com/
Are you able to resolve your filter cell issue when using a UserControl inside your grid? Can you provide us a sample demonstrating your requirement? Please let us know if you have any questions.
Sincerely,
Sahaja Kokkalagadda
Associate Software Developer, Windows Forms
http://www.infragistics.com/
Hello,
I found no solution for this problem.
I have the same behavior on standard grid. NO user control or anything special involved.
Just activating row filtering in default behavior in my app:
layout.AllowRowFiltering = DefaultableBoolean.True; layout.FilterUIType = FilterUIType.FilterRow; layout.FilterClearButtonLocation = FilterClearButtonLocation.RowAndCell; layout.FilterEvaluationTrigger = FilterEvaluationTrigger.OnCellValueChange; layout.FilterComparisonType = FilterComparisonType.CaseInsensitive; layout.FilterOperandStyle = FilterOperandStyle.Edit; layout.FilterOperatorDefaultValue = FilterOperatorDefaultValue.Contains; layout.FilterOperatorLocation = FilterOperatorLocation.Hidden;
If I hoover over the filter cell, filterclear button is not visible. If I click on the cell and click any other row after that, mouse hoover shows FilterClearButton now.
I like Monica describes, columns left of the clicked one, shows the FilterClearButton as well. But not the right ones.
Is there any other property to set?
Or simply a bug?
Regards
Markus