I'm guessing the answer is no but I thought I'd ask here just to be sure.
I've put together an UltraComboEditor in conjunction with a plain ol LIST and a VALUELIST and that works fine.
I'd +LIKE+ to be able to bind it to a UltraDataSource to virtualize the list. But that doesn't appear to work.
So question is, is it supposed to, and I'm just doing it wrong? Or is this combination simply unsupported?
And a follow on to that is, if it's not supported, isn't there a way to use an UltraGrid as the dropdown area of the UltraCombo? I could have sworn I've seen this done, but I can't find any examples or discussion of it now that I'm looking for it.
Many thanks!
Darin
Yes, you can bind UltraComboEditor to UltraDataSource. But since UltraDataSource can have more than one band, you probably need to bind to the root band:
this.ultraComboEditor1.DataSource = this.ultraDataSource1.Band
If you want a multi-column dropdown that looks like UltraWinGrid, make sure you are using UltraCombo, not UltraComboEditor.
Hmmm, Actually, one more question about this. If I set the DataSource to ds.Rows, it does bind and display properly,
But.....
It appears to immediately request all the rows. If I watch the CellDataRequested, it fires "SetCount()" times. So that's not really virtuallized.I'm wondering if there's some property somewhere that's causing the combobox to think it needs to load everything.
Or it it like the UltraTree, that's just the way it works with the UltraDataSource?
Arg! You pointed that out when I asked about binding to a list box a few weeks ago!Sorry to bother you guys about that one. Hopefully, I'll remember that bit from now on
Thanks again!