Hi,
We have a grid that we put an UltraCombo control in the EditorComponent property of one of the column.
This works great but when we have a lot of data (e.g. 30 000 rows), it take a couple of seconds to create the datasource.
The same UltraCombo control with the same datasource directly on a form; not in the EditorComponent of a grid is approximatly 500% faster. (1.5 seconds instead of 6 seconds)
Does anybody know why the datasource is slower to initialize in the grid?
I think the reason is that the EditorComponent create a clone of the AutoComplete and that clone process many things that when put in form directlly don't process.
(I know that you will tell me that is a huge quantity of data but my customer want it like that)
Okay, but I'm still not clear on what you mean by "creating the datasource".
What type of data source are you using? What does creating it entail, exactly?
Are you talking about declaring a variable? Populating the data? Creating the structure? Binding it to the combo?
Hi Mike,
The datasource is on the combobox.
Sorry if my question was not enough clear.
What exactly do you mean by "create the datasource"?
Is this the grid's DataSource or the combo's datasource you are talking about?