Hi all,
I have a grid with 30'000 rows with a column containing the same 30'000 in form of a ValueList.
(Customers with reference to a possible headquater, the valuelist translates the customer-Id to the customer-name)
The first sorting by the ValueList-Column with UltraComboEditor takes over a minute!
Using the UltraDropDown takes only 2 seconds!
My problem is, that I need the functionality of the UltraComboEditor (Button and AutoComplete).
What can I do to get the same performance with the UltraComboEditor?
.Net 2.0, 2009.1, XP/Vista
masch said:My problem is, that I need the functionality of the UltraComboEditor (Button and AutoComplete).
You can use UltraCombo instead of UltraComboEditor and it has the same features and also does binary searching and is optimized like UltraDropDown.
Hi Mike,
Thank you for your suggestion. From the point of view performance it works fine, but I'm missing the SuggestAppend- na dsearching functionality of the UltraComboEditor :
With the UltraComboEditor the drop-list contains only items matching the entry in the cell, sort of "Starts-with-filter". Without SuggestAppend it gets positioned to the first matching item. With the UltraCombo nothing happens.
What I'm searching is a functionality that searches automatically the first matching row in the drop down-grid or sets a filter.
Do I have to this programatically by catching the CellChange-Event or is there something built-in?
P.S: According to the forum I need a custom creationfilter to suppress the drop-dow button. Is there something planed in future releases to provide this functionality (like DropDownButtonDisplayStyle = ButtonDisplayStyle.Never)?
masch said: Thank you for your suggestion. From the point of view performance it works fine, but I'm missing the SuggestAppend- na dsearching functionality of the UltraComboEditor : With the UltraComboEditor the drop-list contains only items matching the entry in the cell, sort of "Starts-with-filter". Without SuggestAppend it gets positioned to the first matching item. With the UltraCombo nothing happens. What I'm searching is a functionality that searches automatically the first matching row in the drop down-grid or sets a filter. Do I have to this programatically by catching the CellChange-Event or is there something built-in?
I'm confused by your question. Both UltraCombo and UltraComboEditor have the same property: AutoCompleteMode. You just set this property to SuggestAppend. Are you saying that you did that with the UltraCombo and it's not working?
masch said:P.S: According to the forum I need a custom creationfilter to suppress the drop-dow button. Is there something planed in future releases to provide this functionality (like DropDownButtonDisplayStyle = ButtonDisplayStyle.Never)?
You should Submit a feature request to Infragistics.
Here are the examples:
Version UltraCombo: Typing opens the dropdown at the position of the current value, no more interaction with the cell's text.
As the entries are sorted, I'd like that the grid scrolls to the first matching entry accoring to the cell's text.
Code UltraCombo:
UltraGridColumn
col = myCol;
UltraCombo ed = new UltraCombo();
EditorButton bt = new EditorButton();
ed.ButtonsRight.Add(bt);
ed.EditorButtonClick +=
new EditorButtonEventHandler (ed_EditorButtonClick);
ed.LimitToList =
true;
ed.DisplayLayout.Override.HeaderClickAction =
HeaderClickAction.SortMulti;
ed.InitializeLayout +=
new InitializeLayoutEventHandler (ed_InitializeLayout);
col.EditorControl = ed;
col.AutoCompleteMode = Infragistics.Win.
AutoCompleteMode.SuggestAppend;
Code UltraComboEditor:
UltraGridColumn col = myCol;
UltraComboEditor ed = new UltraComboEditor();
ed.DropDownButtonDisplayStyle = Infragistics.Win.
ButtonDisplayStyle.Never;
new EditorButtonEventHandler(ed_EditorButtonClick);
If AutoCompleteMode is not working for the UltraCombo, then that's a bug.
You may be running into the same bug discussed here: DropDown in grid not auto-completing since 8.1->8.2 upgrade - Infragistics Community
I believe this is fixed in the latest service release.
How to get the latest service release - Infragistics Community