Created table in webpage and providing addrows button to insert row records into the table, added edit and delete button to take action on inserted row to either update or delete.
Implemented firstselectedrow event to select and duplicate the same records by clicking duplicate row by passing rowdata.
click of either delete or edit action chain alternatively firstselectedrow event is firing. I should stop this event to prevent executing the data which is making passing empty values to duplicate the row.(implemented one Boolean variable on selected row to enable duplicate button to duplicate row after that disabling immediately but delete/edit button causing enable duplicate row button on click)
So Please provide solution how prevent firstselectedrow .
I can provide necessary information about the functionality of the page if anybody come with your valuable information.

@shay-shmeltzer-oracle