Add custom hook for grid "apply filters"
so a page can know when the data set changes.. this seems a bit hacky, may need a better solution some day
This commit is contained in:
		
							parent
							
								
									c5344d2df6
								
							
						
					
					
						commit
						ccb4661b39
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -604,8 +604,11 @@
 | 
			
		|||
 | 
			
		||||
              params = new URLSearchParams(params)
 | 
			
		||||
              this.loadAsyncData(params)
 | 
			
		||||
              this.appliedFiltersHook()
 | 
			
		||||
          },
 | 
			
		||||
 | 
			
		||||
          appliedFiltersHook() {},
 | 
			
		||||
 | 
			
		||||
          clearFilters() {
 | 
			
		||||
 | 
			
		||||
              // explicitly deactivate all filters
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue