I looked around the forum and I cannot find anything relating to the Filter Row Height
When I type in the filter row field the text is unreadable
When I click off of the field you'll notice from the images that I typed a T... but it hardly visible in the initial image
How do I adjust the height of the Filter row so that when the user types - they can see what they are typing???
1 Answer, 1 is accepted
Hello, Martin,
The filtering row is a special system row exposed as TableFilteringRow on the grid's view. You can set its Height property to adjust its height:
this.radGridView1.MasterView.TableFilteringRow.Height = 60;However, the textbox that is internally hosted in the TableFilteringRow should have the exact size to display text normally. Can you please specify which theme you have applied to your project? Thus, I can test the filtering row with the same theme on my side and see if the issue occurs. Also, have you made any customizations to the grid that would affect this textbox?
Regards,
Nadya | Tech Support Engineer
Progress Telerik
I don't think I have made any customizations to the grid that would affect the textbox... no modified editors or anything like that
radGridView1.MasterView.TableFilteringRow.Height = 60
but it has had no effect
Hello, Martin,
Thank you for specifying that you use the Windows11 theme of our suite. I can not observe the issue in a normal RadGridView while typing in the text area on filtering rows. See the result on my end below.
While editing:
After editing ends:
Is it possible to provide me with a sample project where the same problem occurs? Thus, I could investigate the case closely.
OK!! I was in the process of creating a raw from scratch mini app to send to you and the filtering row was not being squashed.
I looked everywhere in all of the grid events and grid routines and could not find any issues.
So, then I started to do a code compare between the app 'with' the issue and the mini app that I was preparing for you.
And the first routine in the problematic app was in formload
If you add that line in your form load event - it will cause the grid filtering issue that I was inquiring about.
I'll remove it - but I would never have expected that to cause this issue within the GridView control. I don't recall seeing any issues on other controls... only the GridView.
Perhaps there is some internal code that needs to be address so that it would not be affected in later releases??
Add the line below to your formLoad event and let me know if you can replicate what I'm referring to.
Me.FormElement.ImageBorder.Visibility = Telerik.WinControls.ElementVisibility.CollapsedI don't know if this matters but - my gridview is in a UserControl that I drop on the form.
So, if you can't replicate it with only the form...
Then put the grid into a usercontrol and drop that onto the form. I didn't try that experiment.
Hello, Martin,
I followed your instructions - added user control with RadGridView on it, used the FormElement.ImageBorder.Visibility = Telerik.WinControls.ElementVisibility.Collapsed as you specified but I still can not reproduce the reported issue with filtering text box height.
I have attached my test project for your reference. It's possible that there's something else in your setup that's causing the filtering row to have a smaller height. If you're able to reproduce the exact issue in the attached project, I would appreciate it if you could send it back to me so I can investigate further.
Regards,
Nadya
I'm still performing some tests... and it is slow going.
But while I'm doing that - is there any way to "Force" the height of the Filter Row?
Hello, Martin,
The API that we provide to apply custom height on the filtering is via the TableFilteringRow.Height property that I mentioned earlier. I tested it on my side and it works. At this moment, I can not suggest another way to force the height of the filter row.
Regards,
Nadya
