posted 15 years ago
Hello Adeeb,
Are you using a cache (memory) of the data? If so, when you click delete button, you trigger the table model to remove that row or object from the data. At the same time, the table model through some means delete the physical database table row then fireXXX() methods.
If no cache, then the table model deletes the physical database table row and refresh the view using fireXXX() methods.
Of course you would need a action listener for the delete button to trigger the appropriate method in the table model.
All this depends on where you are doing the actual modification, backend (some service layer between db and client) or directly in the table model class (front end).
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP