This is a migrated thread and some comments may be shown as answers.

[Solved] column width and filter icons

4 Answers 197 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniel Collier
Top achievements
Rank 1
Daniel Collier asked on 21 Apr 2010, 06:47 PM
We have disabled filtering on some columns of our grids, but the column does not seem to shrink like we were hoping.  So it seems that the icon was just hidden rather than being removed I would assume.  Can this please be confirmed and if this is the case, is there a solution?

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 22 Apr 2010, 09:01 AM
Hello Daniel Collier,

The filtering icon is not rendered at all when the column is not filterable. To decrease a column's width simply set lower width value via the Width() method

Greetings,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Daniel Collier
Top achievements
Rank 1
answered on 22 Apr 2010, 11:16 AM
Thank you.  
0
Renee
Top achievements
Rank 1
answered on 08 Mar 2011, 08:38 PM
That's a disappointing answer.  It would be fantastic to be able to avoid hard-coding a table-cell width (for many reasons).  It would be a fantastic build if the filter icon wasn't rendered.
0
Atanas Korchev
Telerik team
answered on 09 Mar 2011, 08:13 AM
Hello Renee,

I am not sure I understand your concerns. The filtering icon is not rendered when a column is not filterable. There is some padding set by default for all columns which affect its width. If you need to tweak the default padding you can customize the skin which you are using. The Visual Style Builder can help a lot with any skin modifications.

Regards,
Atanas Korchev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
Daniel Collier
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Daniel Collier
Top achievements
Rank 1
Renee
Top achievements
Rank 1
Share this question
or