Initial Filtering

Hi i would like to know if it's possible to set an initial filtering without using the Query parameter but add the condition to filter so i can automatically filter in backend with the DataManagerRequest request strunture without using Params.

It's also possible to pass this parameter inside GridFilterSettings and, at the same time, hide the filter bar ?

Thanks in advance
Stefano

1 Reply

VN Vignesh Natarajan Syncfusion Team March 19, 2020 05:15 AM UTC

Hi Stefano, 
 
Thanks for contacting Syncfusion support.  
 
Query: “i would like to know if it's possible to set an initial filtering without using the Query parameter but add the condition to filte 
 
We have already documented this request (to apply initial filter to Grid) in our UG documentation. kindly refer the below documentation for your reference. 
 
 
To hide the filter bar kindly apply the below CSS style to your Grid. 
 
<EjsGrid ID="Grid" @ref="@Grid" DataSource="@Orders" AllowFiltering="true" ShowColumnChooser="true" Toolbar="@(new List<string> {"ColumnChooser" })" AllowPaging="true" Height="315"> 
. . . . . . .. .  
</EjsGrid> 
<style> 
    #Grid.e-grid .e-gridheader .e-filterbar{ 
        display:none 
    } 
</style> 
 
 
Kindly get back to us if you have further queries. 
 
Regards, 
Vignesh Natarajan. 
 


Loader.
Up arrow icon