After changing from smartgwtee.jar to latest smartgwtpower.jar the SelectItems with setMultiple(true) are displaying as SelectItems with entries containing checkboxes. I am attaching a photo for visual. Has something changed and how can I change this behavior back to normal?
I have attached three pictures, the first two show the new display behavior and the third photo show the original(how i want it to display) behavior.
Here is the code for one of the SelectItems in the pictures:
I have attached three pictures, the first two show the new display behavior and the third photo show the original(how i want it to display) behavior.
Here is the code for one of the SelectItems in the pictures:
Code:
officeSel = new SelectItem("officeId", "Office"); officeSel.setOptionDataSource(DataSource.get("Office")); officeSel.setValueField("officeId"); officeSel.setDisplayField("officeName"); officeSel.setEmptyDisplayValue("Pick An Office"); officeSel.setWidth(fieldWidthStd); officeSel.setRequired(Boolean.TRUE);
Comment