I have same issue. I have just added SelectItem. I have not applied any Extra CSS.
I have tested it on IE6, IE8 and FF. Its look is fine on IE6 and FF. But IE8 has its display issue. IE6 has another issue. When i just click the SelectItem to select any item from the list. It immediately navigates to initial page of the application.
I have noticed same issue in showcase in Chrome browser also. To check different versions of Internet Explorers use IETester.
I am stuck please guide so what to do now? Code is as follows: (it is working 100% fine on FF)
Specifications are:
1. the SmartGWT 2.3 LGPL
2. browser version(s) involved: FF, IE 6, 7, 8, Chrome;
3. sample code is provided.
I have tested it on IE6, IE8 and FF. Its look is fine on IE6 and FF. But IE8 has its display issue. IE6 has another issue. When i just click the SelectItem to select any item from the list. It immediately navigates to initial page of the application.
I have noticed same issue in showcase in Chrome browser also. To check different versions of Internet Explorers use IETester.
I am stuck please guide so what to do now? Code is as follows: (it is working 100% fine on FF)
Code:
HLayout middleLayout = new HLayout(5); final DynamicForm form1 = new DynamicForm(); form.setWidth(500); form.setNumCols(4); final Map<String, String[]> departments = new HashMap<String, String[]>(); departments.put("Marketing", new String[]{"Advertising", "Community Relations"}); departments.put("Sales", new String[]{"Channel Sales", "Direct Sales"}); departments.put("Manufacturing", new String[]{"Design", "Development", "QA"}); departments.put("Services", new String[]{"Support", "Consulting"}); SelectItem divisionItem = new SelectItem(); divisionItem.setName("division"); divisionItem.setTitle("Division"); divisionItem.setValueMap("Marketing", "Sales", "Manufacturing", "Services"); divisionItem.addChangeHandler(new ChangeHandler() { public void onChange(ChangeEvent event) { String selectedItem = (String) event.getValue(); form1.getField("department").setValueMap(departments.get(selectedItem)); } }); SelectItem departmentItem = new SelectItem(); departmentItem.setName("department"); departmentItem.setTitle("Department"); departmentItem.setAddUnknownValues(false); form1.setItems(divisionItem, departmentItem); form1.draw(); middleLayout.addMember(form1);
1. the SmartGWT 2.3 LGPL
2. browser version(s) involved: FF, IE 6, 7, 8, Chrome;
3. sample code is provided.
Comment