i am working on a project.In which I am displaying the transaction list.and if admin click on any of the row then the row will disappear and a new row with form to update that row will open with cancel button.Here admin can update or cancel .if he can cancel then orginal row will appear and form row will disappear.if i dont click on cancel and click on another row then update form row related to that row will appear and original will disappear.at the same time we can open the form of all form rows by clicking on the rows.but i need that if one row form is open and admin click on another row then form row related to that row will appear and previous form row should disappear.can any body give me idiea to do this.