Paging ComboBox

I have a long list of items for my combo box and it takes too long to load. Is there a way to paginate the items in the combo box?


1 Reply

EM Elakkiya Muthukumarasamy Syncfusion Team October 21, 2021 01:16 PM UTC

Hi Gerardo, 
 
Greetings from Syncfusion. 
 
We have checked your query and we can understand that you want to reduce the time taken while loading the dropdown items .We can achieve this by setting the VirtualizingStackPanel for ItemPanel of ComboBoxAdv. Please refer the below code example and sample for the same. 
 
Code example: 
 
<syncfusion:ComboBoxAdv x:Name="comboBoxAdv" ScrollViewer.CanContentScroll="True"  VirtualizingStackPanel.IsVirtualizing="True" AutoCompleteMode="Suggest" IsEditable="True" Height="30" Width="200"  > 
<syncfusion:ComboBoxAdv.ItemsPanel> 
<ItemsPanelTemplate> 
<VirtualizingStackPanel HorizontalAlignment="Stretch"/> 
</ItemsPanelTemplate> 
</syncfusion:ComboBoxAdv.ItemsPanel> 
</syncfusion:ComboBoxAdv> 
 
 
 
Please check the above sample and confirm us our replication is same us yours. If not please modify the sample as issue reproduceable it will helpful to check further and update the prompt solution on this. 
 
Regards, 
Elakkiya 


Loader.
Up arrow icon