Obviously, I CAN’T have a comboBox with 20,000 items in it.
One option is to create a search mechanism; but wouldn’t it be cool to have something like the google toolbar search, whereas in a comboBox I could perform an ajax call to the server and query the database on each keystroke to reduce the items in the list.
It wouldn’t be feasible to pull down all 20,000 items in xml for binding to the comboBox/datasource.
Is there a slick Isomorphic solution for this? If so, does it require the SmartClient Server?
Hi MVarvil,
By using the optionDataSource property you can connect your ComboBox to a DataSource for data retrieval - it will perform normal “fetch” operations.
These fetch operations support paging identically to how a grid pages - startRow and endRow are passed to the server and the server should respond with the selected row range.
This works with either the SmartClient Server or with XML-based data loading (as well as with JSON, SOAP web services, or custom formats). For XML-based data loading, see example messages under RestDataSource.
http://www.smartclient.com/docs/6.0/a/b/c/go.html#class..RestDataSource