enableheadercontextmenu

2 posts, 0 answers
  1. Anastasiya
    Anastasiya avatar
    7 posts
    Member since:
    Jul 2018

    Posted 23 Jul 2018 Link to this post

    Hello, I'm new in telerik teleport designer and i need "Radgrid Header Context Menu Filter option for choosing columns displayed", but i don't know, where i can find it menu in telerik. can you help me? I can't find "EnableHeaderContextMenu" also:(

    Please, help me(

  2. Vessy
    Admin
    Vessy avatar
    2278 posts

    Posted 23 Jul 2018 Link to this post

    Hi Anastasiya,

    The Header context menu filter option is part of the Excel-like filtering feature of the Grid, you can test is in live and examine its source code here:
    https://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/excel-like-filtering/defaultcs.aspx

    For convenience, I have recorded a video demonstrating how to navigate to the header context menu:
    https://www.screencast.com/t/xvjGxFaCzTP

    The settings you need to configure in order to enable the header context menu are:
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" OnNeedDataSource="RadGrid1_NeedDataSource1"
       RenderMode="Lightweight" FilterType="HeaderContext" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true" >
        <MasterTableView  AllowFilteringByColumn="true">
            <Columns>
                ...
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>




    Regards,
    Vessy
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top