canAbandon
Topic group Related topics Example
Event fired when attempt to abandon rowset occurs; return value determines if changes to row are abandoned.
Parameters
none
Property of
Rowset
Description
A rowset may be abandoned explicitly by calling its abandon( ) method, or implicitly via the user interface by pressing Esc or choosing Abandon Row from the default Table menu or toolbar while editing table rows. canAbandon may be used to verify that the user wants to abandon any changes that they have made. You may check the modified property first to see if there are any changes to abandon; if not, there is no need to ask.
The canAbandon event handler must return true or false to indicate whether the changes to the rowset, if any, are abandoned.