So currently, when I edit a record off a panel that extends VLayout
, double click the field, change the texts, and press enter to save my edit. The newly edited record appears as a standalone record, while the one I just edited is still there.
Is there a way to remove the old record?
myForm.getDataSource().updateData(currentRecord, new DSCallback()
{
@Override
public void execute(DSResponse response, Object rawData, DSRequest request)
{
window.hide();
}
});
equals()
method? – Seng