Kirix Support Forums

Sort Choicebox

Please post any help questions, requests or other feedback here.

Sort Choicebox

Postby abenitez77 on Fri Apr 13, 2012 10:22 am

How do I sort my choicebox?
My code below:
//Get the field types from the table.
info = db4.describeTable(selected_items);

//Create a variable with all the field names for the dynamic SQL query.
for (var e = 0; e < info.length; ++e)
{
var name = info[e].name;
choicebox.addItem(name.toUpperCase());
}
Last bumped by abenitez77 on Fri Apr 13, 2012 10:22 am.
abenitez77
Registered User
 
Posts: 141
Joined: Fri Jan 21, 2011 12:42 pm

Return to Strata Help & Feedback