html - Removing related data from multiple tables using jquery -


this simplified version of problem facing right now.i have list of employee objects attributes name, salary , designation. information 10000 employees displayed in 3 respective tables in html page.
remove button provided against emp names on name table.

should when remove button pressed, removes employees displayed records 3 tables ?

rendering tables again on every remove action looping around employee list obvious option, there more efficient way ?

just hide particular row when user deletes it.

and updating data in js if user refreshes page table formed without values in there won't worry about.

if name comes in same order in other 2 rows hide them or else have traverse , find row , hide. save time of forming table again.


Comments