Thanks for the test case. This is under investigation and we'll get back to you as soon as we have anything to share.
Regards
Isomorphic Software
Regards
Isomorphic Software
button.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { Record [] records = grid.getSelectedRecords(); for (Record record : records) { record.setAttribute("statusField", GridData.getStatusValue()); } ds.updateData(records); } });
button.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { Record [] selection = grid.getSelectedRecords(); Record [] records = new Record[selection.length]; for (int i =0; i < selection.length; i++) { Record record = new Record(); // primary key (for identifying the record) record.setAttribute("idField", selection[i].getAttribute("idField")); // Modification: record.setAttribute("statusField", GridData.getStatusValue()); records[i] = record; } ds.updateData(records); } });
Comment