Hello,
We just upgraded to SGWTEE2.3 and started experiencing issues with displaying SelectItems.
Here is the example code...
If we remove prototype instance of ListGrid SelectItem is displayed properly ...
Included is the screenshot of select item.
Thanks
We just upgraded to SGWTEE2.3 and started experiencing issues with displaying SelectItems.
Here is the example code...
Code:
private final DynamicForm dynamicForm = new DynamicForm(); public void onModuleLoad() { ListGrid prototypeGrid = new ListGrid(); prototypeGrid.setCanMultiSort(false); // apply the prototype to the ListGrid class ListGrid.setDefaultProperties(prototypeGrid); dynamicForm.setAutoFocus(true); dynamicForm.setWidth(210); final SelectItem selectItem = new SelectItem("Animal"); selectItem.setValueMap("Cat", "Dog", "Giraffe", "Goat", "Marmoset", "Mouse"); dynamicForm.setFields(selectItem); dynamicForm.draw(); }
Code:
private final DynamicForm dynamicForm = new DynamicForm(); public void onModuleLoad() { dynamicForm.setAutoFocus(true); dynamicForm.setWidth(210); final SelectItem selectItem = new SelectItem("Animal"); selectItem.setValueMap("Cat", "Dog", "Giraffe", "Goat", "Marmoset", "Mouse"); dynamicForm.setFields(selectItem); dynamicForm.draw(); }
Thanks
Comment