SmartGWT ComboBoxItem get all Records
问题 How can I get all Records from a SmartGWT ComboBoxItem? I add the Records as a Datasource. Did not found any way to retrive all Records. Thank you in advance! 回答1: Try RecordList recordList=comboBoxItem.getValueAsRecordList(); Record[] records=recordList.getRange(0, recordList.getLength()); 回答2: RecodList support toArray method to get all records. RecordList recordList=comboBoxItem.getValueAsRecordList(); recordList.toArray() 来源: https://stackoverflow.com/questions/23337604/smartgwt