Search code examples
javasmartgwt

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!


Solution

  • Try

    RecordList recordList=comboBoxItem.getValueAsRecordList();
    
    Record[] records=recordList.getRange(0, recordList.getLength());