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

Sizing filter controls based on column

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Elfman
Top achievements
Rank 1
Elfman asked on 15 Aug 2008, 10:00 PM
Is there any way to automatically size the Filter row controls based on the column that they are in?

Also, is it possible to have fixed width columns?

Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Aug 2008, 04:43 AM
Hi,

Go through the following help article which explains how to set the width of filter textbox.
Setting filter textbox dimensions/changing default filter image

 You can set the desired width to a Grid column in the aspx as shown below.

ASPX:
<telerik:GridBoundColumn DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName" 
                        UniqueName="FirstName"
                        <HeaderStyle  Width="50px"/> 
                         <ItemStyle  Width="50px" /> 
                    </telerik:GridBoundColumn> 


Thanks
Shinu.
Tags
Grid
Asked by
Elfman
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or