On a ListGrid cell.
setValue() with single item works. Multiple values doesn't work. The checkboxes are all empty.
Version is 12.1p. Also tried 13.0. 13.0 is actually much worse!
Code:
public FormItem getEditor(ListGridEditorContext context) { final SelectItem selectItemGrid = new SelectItem(); selectItemGrid.setShowTitle(false); selectItemGrid.setMultiple(true); selectItemGrid.setMultipleAppearance(MultipleAppearance.PICKLIST); selectItemGrid.setMultipleValueSeparator(","); selectItemGrid.setValueMap("Read", "Write"); selectItemGrid.setValues(getDisplayValue().split(",")); return selectItemGrid; }
Version is 12.1p. Also tried 13.0. 13.0 is actually much worse!
Comment