SmartClient Version: v10.0p_2014-11-19/LGPL Development Only (built 2014-11-19)
FireFox 24.7.0 ESR
After expanding the row in the following code example, pressing the space bar does not result in a space being shown in the RichTextItem.
FireFox 24.7.0 ESR
After expanding the row in the following code example, pressing the space bar does not result in a space being shown in the RichTextItem.
Code:
@Override
public void onModuleLoad() {
final ListGrid listGrid = new ListGrid() {
@Override
protected Canvas getExpansionComponent(final ListGridRecord record) {
return new VLayout(4){{
DynamicForm form = new DynamicForm();
form.setFields(new RichTextItem("info"){{
setHeight(200);
}});
addMember(form);
}};
}{
setCanExpandRecords(true);
setFields(new ListGridField("test", "Test"));
setData(new ListGridRecord(){{
setAttribute("test", "Row 1");
}});
}
};
listGrid.setWidth(600);
listGrid.setHeight(500);
listGrid.draw();
}