combo item limit?
Hi,
I am trying to implement a combo box to select a supplier from a list of about 30, but the combo seems to have a fixed number of items it can display - about 10.
It is possible to use the mouse wheel to select the other 20 or so items, but there are no scroll bars.
How can I add scroll bars to the combo, or increase the limit please?
This is the code I am currently using:
//list for supplier combo
var supplierlist = [" ","AAH","ARC","ARR","BAD","BAI","BLA","BRU","CARH","CHE","COL","DAN","DOW","EAS","ELD","ENT","EUC","EUR","FOS","GEN","GEP","GMD","HAM","IMP","KENT","LEWIS","LEX","LOV","MAL","MANI","MAW","MML","MUN","NAG","NOR","NOS","NUC","NUM","OTCD","PHA","PHI","PHO","PIF","RUG","SGR","SIG","SNG","SNT","STD","THI","TIM","TRI","UNI","UNK","WAY","WEL"];
var supplierslist = new AW.UI.List;
supplierslist.setItemText(supplierlist);
supplierslist.setItemCount(supplierlist.length);
I am trying to implement a combo box to select a supplier from a list of about 30, but the combo seems to have a fixed number of items it can display - about 10.
It is possible to use the mouse wheel to select the other 20 or so items, but there are no scroll bars.
How can I add scroll bars to the combo, or increase the limit please?
This is the code I am currently using:
//list for supplier combo
var supplierlist = [" ","AAH","ARC","ARR","BAD","BAI","BLA","BRU","CARH","CHE","COL","DAN","DOW","EAS","ELD","ENT","EUC","EUR","FOS","GEN","GEP","GMD","HAM","IMP","KENT","LEWIS","LEX","LOV","MAL","MANI","MAW","MML","MUN","NAG","NOR","NOS","NUC","NUM","OTCD","PHA","PHI","PHO","PIF","RUG","SGR","SIG","SNG","SNT","STD","THI","TIM","TRI","UNI","UNK","WAY","WEL"];
var supplierslist = new AW.UI.List;
supplierslist.setItemText(supplierlist);
supplierslist.setItemCount(supplierlist.length);
John W
December 8,