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

Filter with DatePicker formatting

1 Answer 200 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Samuel
Top achievements
Rank 1
Samuel asked on 06 Nov 2015, 08:28 PM

I have a RadGrid with a GridDateTimeColumn, with a DatePicker filter.   The From & To inputs with calendar popup appear in the filter row.   I would like to have this split across 2 lines as it makes the column very wide - and it's a waste of space.    I have tried setting the FilterControlWidth and that just changes the size of the input text box.    Here is the aspx code for the column and a pic of the column:  

                    <telerik:GridDateTimeColumn  DataField="CreateDate" SortExpression="create_dt" UniqueName="CreateDate" 
                        PickerType="DatePicker" DataType="System.DateTime" DataFormatString="{0:MMM d, yyyy}"
                        EnableRangeFiltering="true" FilterDateFormat="MMM d, yyyy" 
                        HeaderStyle-Wrap="true" FilterControlWidth="120px">
                            <HeaderStyle Width="100px" Wrap="true"></HeaderStyle>     
                    </telerik:GridDateTimeColumn>

 

How do I go about getting the filter row to wrap or split across 2 lines?

Thanks

Janice

 

 

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 11 Nov 2015, 11:46 AM
Hello Samuel,

Unfortunately the required functionality can not be achieved with the range filtering feature. In this case I would suggest you to create a Filter Template with two date picker control to implement the range filtering and also achieve the required rendering.

I hope this helps.

Regards,
Maria Ilieva
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
DatePicker
Asked by
Samuel
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or