This is a migrated thread and some comments may be shown as answers.
RadGrid - Hide Header Context on Template Column
2 Answers 23 Views
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 05 Jan 2016, 10:52 PM

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 Answers, 1 is accepted

Sort by
0
Accepted
Kostadin
Telerik team
answered on 08 Jan 2016, 01:09 PM
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
0
SPH
Top achievements
Rank 1
answered on 15 Jul 2016, 01:55 PM
EnableHeaderContextMenu property is now avalaible for each column !
Tags
Grid
Asked by
Matt
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
SPH
Top achievements
Rank 1
Share this question
or