Gridview Filtering issue

3 posts, 0 answers
  1. Nawnit
    Nawnit avatar
    12 posts
    Member since:
    Dec 2007

    Posted 05 Apr 2011 Link to this post

    I have a telerik grid view in my silverlight application and i have applied filtering option on it.But I want to customize filtering options .Some Options are not required for me Like 'Match Case' check box option is coming in every column ,I have to remove that option.

    I have a POlist_grid in my code and i have set IsFilteringAllowed="True".

    I have attached screenshot .The options is not required I  rounded it with red color in attached screenshot.

    code is attached too.
    Please help me out how can i remove such options.

    <controls:ChildWindow x:Class="LinguistWorkbench.Assets.Controls.PurchaseOrderSearchWindow"
               Width="850" Height="380"
            <StackPanel Orientation="Horizontal" >
                <Image Source="../Images/15printPreview.png" Width="25" Height="25" />
                <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">Search and Filter Purchase Order</TextBlock>
        <Grid  Background="White"  Margin="2">
                <RowDefinition />
                <RowDefinition Height="Auto" />
                <TelerikGrid:RadGridView x:Name="POlist_grid" AutoGenerateColumns="False"  CanUserDeleteRows="False" CanUserFreezeColumns="False" CanUserInsertRows="False" CanUserReorderColumns="False"
                                                        CanUserSelect="True" ShowColumnFooters="False"
                                                        ShowGroupFooters="False" ShowGroupPanel="False" ShowInsertRow="False" IsFilteringAllowed="True" 
                                                        RowIndicatorVisibility="Collapsed" IsReadOnly="True" 
                                                        IsSynchronizedWithCurrentItem="false"  Height="305"   DataContext="{Binding}" RowActivated="POlist_grid_RowActivated"  >
                        <TelerikGrid:GridViewDataColumn Header="Project Number"  Width="120"  DataMemberBinding="{Binding ProjectNumber}" />
                        <TelerikGrid:GridViewDataColumn Header="PO Number" Width="120" DataMemberBinding="{Binding PurchaseOrderNumber}" />
                        <TelerikGrid:GridViewDataColumn Header="PO Amount" Width="80"  DataMemberBinding="{Binding PurchaseOrderAmount}"  />
                        <TelerikGrid:GridViewDataColumn Header="Status" Width="160"  DataMemberBinding="{Binding TaskStatus}"  />
                        <TelerikGrid:GridViewDataColumn Header="PO Date" Width="140"  DataMemberBinding="{Binding ResultDate}"  />
                        <TelerikGrid:GridViewDataColumn Header="Comment" Width="600" DataMemberBinding="{Binding Comment}" IsFilterable="False" IsGroupable="False"   />
            <TelerikData:RadDataPager Grid.Row="2" x:Name="dataPager" PageSize="20"  DisplayMode="All"  />
  2. Vlad
    Vlad avatar
    11100 posts

    Posted 05 Apr 2011 Link to this post


     You can redefine the default FilteringControl using Blend and assign the style with desired modifications using FilteringControlStyle property of GridViewColumn.

    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
  3. DevCraft R3 2016 release webinar banner
  4. Nawnit
    Nawnit avatar
    12 posts
    Member since:
    Dec 2007

    Posted 05 Apr 2011 Link to this post

    Hi Vlad,

    Thanks for quick reply.
    Can you send me test project because I tried but not able to fixed the issue.

Back to Top