We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeGrid Column Menu missing Filter feature per documentation?

Thread ID:

Created:

Updated:

Platform:

Replies:

150670 Jan 15,2020 02:34 PM UTC Jan 17,2020 04:13 PM UTC Blazor 1
loading
Tags: TreeGrid
Scott Peal
Asked On January 15, 2020 02:34 PM UTC

FYI, this document page states the "Filter - Filter option is shown to filter the current column."  However, in the demo there is no on/off to show the filter in the popup menu. We would really like to have that feature as the showing of the filter boxes is intrusive to show all the time. So having a trigger to trun them on and off in the popup menu would be awesome!


Farveen Sulthana Thameeztheen Basha [Syncfusion]
Replied On January 17, 2020 04:13 PM UTC

Hi Scott, 

Thanks for contacting Syncfusion Support. 

Query#:- FYI, this document page states the "Filter - Filter option is shown to filter the current column."  However, in the demo there is no on/off to show the filter in the popup menu.  

We have checked your query and if you want to show Filter popup you need to enable allowFiltering property and required FilterType in FilterSettings property of the TreeGrid. So that Filter icon will be displayed on ColumnMenu List. 

<EjsTreeGrid ID="TreeGrid" @ref="TreeGrid" DataSource="@TreeData" IdMapping="TaskID" ParentIdMapping="ParentID" TreeColumnIndex="1" ShowColumnMenu="true" AllowFiltering="true" AllowSorting="true" AllowPaging="true" AllowRowDragAndDrop="true" Toolbar="Toolbaritems"> 
                <TreeGridEvents TValue="string" OnToolbarClick="ToolBarClick" RowSelected="RowSelect"></TreeGridEvents> 
                <TreeGridEvents TValue="SelfReferenceData"></TreeGridEvents> 
                <TreeGridPageSettings PageSize="2"></TreeGridPageSettings> 
                <TreeGridFilterSettings Type="Syncfusion.EJ2.Blazor.TreeGrid.FilterType.Menu"></TreeGridFilterSettings> 
                <TreeGridColumns> 
                    <TreeGridColumn Field="TaskID" HeaderText="Task ID" IsPrimaryKey="true" Width="80" TextAlign=" Syncfusion.EJ2.Blazor.Grids.TextAlign.Right"></TreeGridColumn> 
                    <TreeGridColumn Field="Duration" HeaderText="Duration" Width="100" TextAlign=" Syncfusion.EJ2.Blazor.Grids.TextAlign.Right" AllowFiltering="false"></TreeGridColumn> 
               </TreeGridColumns> 
            </EjsTreeGrid> 

Refer to the sample Link:- 

If you want to turn them on/off you can disable it by setting allowFiltering false for the corresponding column.  

Refer to the screenshots:- 
 

Please get back to us if you need any further assistance on this. 

Regards, 
Farveen sulthana T 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon