exampleForm.setItems(orderID, orderDate, items, saveBtn);
Criteria orderCriteria = new Criteria();
orderCriteria.addCriteria("orderID", 1);
orderDS.fetchData(orderCriteria, new DSCallback() {
@Override
public void execute(DSResponse response, Object rawData, DSRequest request) {
DynamicForm exampleForm = (DynamicForm) Canvas.getById("exampleForm");
exampleForm.editRecord(response.getData()[0]);
}