> Have a look in the docs for ComboBox.labelFunction (takes a while to
load)

That worked!  Thanks Adrian!!

I totally forgot about the labelFunction. This is my new code:

var max_display_width = 33;
                
var responseHandler = {};

responseHandler.onResult = function( results: Object ):Void {    
sel_bank_account_id.dataField = "bank_account_id";
sel_bank_account_id.labelFunction = function(itemObj){return
itemObj['bank_account_setup_name'].substr(0,max_display_width);}
sel_bank_account_id.dataProvider = results;

Thanks again.

~Brad



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230353
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to