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

Width of Filter DropDown

3 Answers 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 29 May 2012, 03:49 PM
My Customer names are very long.  So, in the filter column, it seems I need to stretch the Customer dropdown to see the down-arrow icon on the right.  My attachment shows this; it is too long.

How may I make the dropdown shorter in length and still see the down-arrow icon?

Thank you.

Rick

3 Answers, 1 is accepted

Sort by
0
Rick
Top achievements
Rank 1
answered on 29 May 2012, 04:19 PM
<CustTelerik:clsTelerikCustomColumn DataField="cust_name"
  HeaderText="Customer" UniqueName="cust_name" FilterControlWidth="250px">
<HeaderStyle HorizontalAlign="Left" Width="250px" />
<ItemStyle HorizontalAlign="Left"  Width="100px" />
</CustTelerik:clsTelerikCustomColumn>
0
Rick
Top achievements
Rank 1
answered on 29 May 2012, 04:21 PM
As you see from the above HTML, even a width of 250px doesn't expose enough of the dropdown...the down-arrow still gets truncated.

Is this an easy adjustment?

Thank you
0
Richard
Top achievements
Rank 1
answered on 30 May 2012, 09:43 PM
Rick,

I'm not sure if you've seen this code library offering, but it may provide a solution for your requirements here.

How to make RadGrid Filtering Controls Resize Together with the Columns

Hope this helps!
Tags
Grid
Asked by
Rick
Top achievements
Rank 1
Answers by
Rick
Top achievements
Rank 1
Richard
Top achievements
Rank 1
Share this question
or