smartgwt 2.4
firefox 4
Hey,
When trying to call setValueMap on a selectItem, I get this exception. It happens the second time I click on the select item.
INFO: Click.
INFO: Click.
ERROR: 13:11:08.623:RDQ2:WARN:Log:TypeError: this.formItem is undefined
PickListMenu._formatCellValue("one", {Obj}, {Obj}, 0, 0)
ListGrid.getCellValue(record=>{Obj}, rowNum=>0, colNum=>0, gridBody=>{Obj})
anonymous({Obj}, 0, 0, {Obj})
GridRenderer._getCellValue({Obj}, 0, 0)
GridRenderer.getTableHTML()
Here's the code
Any help is greatly appreciated.
Thanks,
John
firefox 4
Hey,
When trying to call setValueMap on a selectItem, I get this exception. It happens the second time I click on the select item.
INFO: Click.
INFO: Click.
ERROR: 13:11:08.623:RDQ2:WARN:Log:TypeError: this.formItem is undefined
PickListMenu._formatCellValue("one", {Obj}, {Obj}, 0, 0)
ListGrid.getCellValue(record=>{Obj}, rowNum=>0, colNum=>0, gridBody=>{Obj})
anonymous({Obj}, 0, 0, {Obj})
GridRenderer._getCellValue({Obj}, 0, 0)
GridRenderer.getTableHTML()
Here's the code
Code:
public void onModuleLoad() { VLayout layout = new VLayout(); layout.setWidth("800"); layout.setHeight("400"); final DynamicForm form = new DynamicForm(); form.setWidth(400); form.setHeight(400); final SelectItem selectItem = new SelectItem("test", "Test"); form.setItems(selectItem); selectItem.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() { public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent clickEvent) { GWT.log("Click"); form.getField("test").setValueMap("one", "two"); } }); layout.addMember(form); RootPanel.get().add(layout); }
Thanks,
John
Comment