Objective Grid: Tabbed combobox speed

Article ID: 452
Last updated: 25 Apr, 2018
Article ID: 452
Last updated: 25 Apr, 2018
Revision: 3
Views: 1813
Posted: 11 Jan, 2001
by Meltreger B.
Updated: 25 Apr, 2018
by Meltreger B.

Problem

 


I am using tabbed comboboxes. I like them very much but when I have larger choicelist, the drawing gets very slow. How can I speed up the tabbed combo boxes?

 

 


Cause

 


 

 


Action

 


The original intention for CGXTabbedComboBox was only small tables. For small tables it works fine to scan the choice list for the text to displayed when cells are drawn.

However, this approach can slow down the grid when used intensive with large tables (with more than 50-100 items per cell).

Therefore we have added a new user attribute that lets you specify a unique id for each choice list. This approach gives the cell some more information about the choice list so that choice list entries can be reused among cells. This allows the tabbed combobox to build an associative map and look up values in this map instead of looping through the choice list.

Check out the class reference for CGXTabbedComboBox for more details.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 452
Last updated: 25 Apr, 2018
Revision: 3
Views: 1813
Posted: 11 Jan, 2001 by Meltreger B.
Updated: 25 Apr, 2018 by Meltreger B.

Others in this category