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

GridDateTimeColumn default filter

4 Answers 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
berto
Top achievements
Rank 1
berto asked on 29 Sep 2012, 03:53 PM
Hello,
I am using in my RadGrid following code:

<telerik:GridDateTimeColumn FilterControlWidth="140px" DataField="Datum" HeaderText="Datum"
    SortExpression="Datum" UniqueName="Datum" PickerType="DateTimePicker"
    EnableRangeFiltering="true" CurrentFilterFunction="Between" ReadOnly="True" AllowFiltering="True" FilterListOptions="VaryByDataType">
    <HeaderStyle Width="220px" />
</telerik:GridDateTimeColumn>

When I click on filter icon I get list of options like (between, not between etc...) Would it be possible to have always one default value there (between) and use it after clicking to filter icon?

4 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 30 Sep 2012, 04:16 PM
Hello,

Please check below demo.

Grid / Basic Filtering

Thanks,
Jayesh Goyani
0
berto
Top achievements
Rank 1
answered on 30 Sep 2012, 04:45 PM
I know this demo. But there as well when you click on filter you get all options not only between.
0
Jayesh Goyani
Top achievements
Rank 2
answered on 01 Oct 2012, 05:03 AM
Hello,

Please check below link to remove some filter option.

http://www.telerik.com/community/forums/aspnet-ajax/grid/reduce-options-in-filter-menu.aspx#2286033

Thanks,
Jayesh Goyani
0
berto
Top achievements
Rank 1
answered on 04 Oct 2012, 08:42 PM
It works fine. thanks a lot for this tip.
Tags
Grid
Asked by
berto
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
berto
Top achievements
Rank 1
Share this question
or