johnf wrote: > On Wednesday 16 April 2008 04:14:40 pm Paul McNett wrote: >> It still seems inconsistent that the other functions that modify the >> dataset (new() and setFieldVal()) will cache the changes until save(), >> while delete() must happen immediately without waiting for save().
> How would the grid work with deletes? If the user deletes a line item it > should disappear from the grid right. But if it still cached in the dataset > it will be displayed - right? What should happen in the display grid? The grid would not show the record, since it is deleted. But if the deletion was canceled, the grid would then show the record again. It is deleted as far as the user is concerned, but not deleted for real until save(). A better question is: what happens to RowNumber and RowCount of the bizobj. Is there a gap in the RowNumbers and is RowCount reflective of the total RowCount including deleted records? I'd say No and No. You delete a record and it is gone, except in the very specific case of you canceling before saving. cancel() removes new records, and reverts changes made to records. I think it should also bring back deleted records. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
