Hi all,
I have a multi-select drop down list. When I select multiple items, they will appear in the display field, and if I close the drop down list and re-open it they will appear checked. But once I save and refresh the page, the selected items won't appear checked in the drop down list. Here is my code:
Is this a bug or does the software not support this?
Thanks.
I have a multi-select drop down list. When I select multiple items, they will appear in the display field, and if I close the drop down list and re-open it they will appear checked. But once I save and refresh the page, the selected items won't appear checked in the drop down list. Here is my code:
Code:
DataSource scriptDataSource = PipScriptsDS.getInstance(); ListGridField pipSrcDatabase = new ListGridField( "pipSrcDatabase" ); SelectItem dbItem = new SelectItem(); dbItem.setMultiple( true ); dbItem.setMultipleAppearance(MultipleAppearance.PICKLIST); dbItem.setOptionDataSource( wksmDataSource ); dbItem.setValueField( "pipSrcDatabase" ); pipSrcDatabase.setEditorType( dbItem );
Thanks.
Comment