Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Boxes Don't Stay Checked in Multi-Select

    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:

    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 );
    Is this a bug or does the software not support this?

    Thanks.

    #2
    Any ideas?

    Comment

    Working...
    X