Datagrid Combobox dynamic source

0
0

Hi,

Is it possible to load data based on what the user types? let say, I have a list 10k of customer list, I dont want to load this as it would take time, I want to only load what the user types initially.

How can I do it?

 

Thanks.

  • You must to post comments
0
0

Hi Glenn,

You can use the VirtualMode property of the DataGridView for loading large datasets. I’m attaching a small sample that uses search-based filtering on a DataGridView in VirtualMode. The comments should explain how to implement the functionality you’re trying to achieve!

Let me know if you have any questions about it.

More info on VirtualMode:

https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.datagridview.virtualmode?view=netcore-3.1

Best regards,

Levie

  • Glenn Gonzales
    Hi, my issue is about a combo box in a datagrid, this combobox is a lookup from another datasource that has a dynamic number of rows too, but I’m sure it would go higher, does your combo box also has virtual mode?
  • Luca (ITG)
    VirtualScroll for creating only the visible elements. But it will always get the full data sets. In our projects we have comboboxes with 90,000 items working extremely well and fast.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.