Filter dialog not showing

Hello,

I have an issue with treegrid component. I was able to replicate it on yours Binding-Observerable-Data-to-an-Angular-TreeGrid example project.

I'm using a simple treegrid with filterSettings (mode: Menu). After clicking on the filter icon, no dialog is displayed. When there is a simple grid on the same page it appears to be working.
 
What seems to be a problem?

Thank you kindly for your help!
Jamal

Attachment: treegridfilterdialog_11522b93.zip

3 Replies

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team March 17, 2020 03:28 PM UTC

Hi Jamal, 

Thanks for contacting Syncfusion Support. 
 
Query#:- After clicking on the filter icon, no dialog is displayed.  
 
We can reproduce the problem on your given sample. On analyzing your sample you doesn’t Inject [Filter] module in TreeGrid. So the reported problem occurs. To overcome this we suggest you to Inject and Import the FilterService which is responsible for Filtering operation as like below  

import { 
  TreeGridModule, 
  EditService, 
  ToolbarService, FilterService 
} from "@syncfusion/ej2-angular-treegrid"; 

@NgModule({ 
  declarations: [AppComponent], 
  imports: [ 
    BrowserModule, 
    TreeGridModule, 
    InMemoryWebApiModule.forRoot(TaskDataService), 
    HttpClientModule 
  ], 
  providers: [EditService, ToolbarService, FilterService], 
  bootstrap: [AppComponent] 
}) 

 


Refer to the below documentation Link:- 

Please refer to the below documentation for handling TreeGrid actions:- 

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

Regards, 
Farveen sulthana T 



JF Jamal Furuku March 17, 2020 06:12 PM UTC

Thank you!


FS Farveen Sulthana Thameeztheen Basha Syncfusion Team March 18, 2020 09:22 AM UTC

Hi Jamal,  

Thanks for your update. Please get back to us if you need any further assistance. We are happy to assist you. 

Regards, 
Farveen sulthana T 


Loader.
Up arrow icon