Dynamically Change Values in Dropdown

I am bringing in a list as the Datasource and it will produce a dropdown with all of the list elements. But what if the page already brought in the entire list, but then a filter is applied and I only want half of the list to show on the dropdown? Can the dropdown list update without refreshing the webpage? 

1 Reply 1 reply marked as answer

BC Berly Christopher Syncfusion Team March 29, 2021 07:29 AM UTC

Hi Nathanael, 
  
Greetings from Syncfusion support. 
  
We can achieve the requested requirement with help of take query in the filtering event as mentioned below code example.  
  
public Query Querydata { get; set; }   
public void onFlitering(FilteringEventArgs e) 
    { 
        Querydata = new Query().Take(5); 
} 
 
  
Based on this, we can showcase the required item in the popup after filtering functionality.  
  
  
Regards, 
Berly B.C 


Marked as answer
Loader.
Up arrow icon