listGrid.setDataSource(dataSource);
dynamicForm.setDataSource(dataSource);
// to demonstrate grid editors, add sample data and start editing
listGrid.setData(new ItemRecord[]{new ItemRecord(123, "Sample Item", "1091600", null, "Rollfix Glue", "Ea", 3.73, null, null)});
listGrid.startEditing();
// to demonstrate validation, use values that will fail validation
dynamicForm.setValue("unitCost", -1.234);
dynamicForm.setValue("SKU", "thisSkuIsWayTooLong");