Wednesday, January 23, 2013

JDev/ADF sample - Immediately Removing New Row Without Validation in ADF

  • Immediately Removing New Row Without Validation in ADF. Once new row is inserted but not yet saved and if validation rules are defined for the attributes - it may cause problems removing this new row (let's say user changes his mind and decides to remove unwanted row). Of course user can invoke Rollback, but this is not what is always desired. User should be able to remove row with one single click - by pressing Delete button. And this is really easy to achieve in ADF, but not always obvious. You need to set Immediate = true as property for Delete button, it will call then Delete operation ignoring any validations for the current row.
    Download - NewRowRemoveApp.zip

No comments: