RadGrid - Hide Header Context on Template Column

3 posts, 1 answers
  1. Matt
    Matt avatar
    33 posts
    Member since:
    May 2013

    Posted 05 Jan 2016 Link to this post

    Greetings,

    I am using FilterType="HeaderContext" and it is working great!  I would like to hide the header context dots on a template column.  How can I achieve this?

    Thank you!

     

    Matt

  2. Answer
    Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 08 Jan 2016 Link to this post

    Hi Matt,

    We are currently working to build such feature that will allow you to disable the filter menu icon. At the moment the only possible solution is to manually find the menu either on the client or on the serve and hide it. The following code snippet demonstrates how to hide the icon on the client. Generally you need to hook OnGridCreated client event and find the column by its UniqueName.
    <script type="text/javascript">
        function OnGridCreated(sender, args) {
            var col = sender.get_masterTableView().getColumnByUniqueName("GridTemplateColumn").get_element();
            $(col).find(".rgOptions").hide();
        }
    </script>

    Regards,
    Kostadin
    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
  3. SPH
    SPH avatar
    7 posts
    Member since:
    Jul 2012

    Posted 15 Jul 2016 in reply to Kostadin Link to this post

    EnableHeaderContextMenu property is now avalaible for each column !
Back to Top