Question

If we have an editable table with two different approaches: 1. Click to edit - Table rendered as read-only initially and user clicks on row to edit. 2. Edit All - Table renders read-only initially and editable on click of an edit button. Which one will perform better while also providing users with a simple edit feature.

Note that the number of rows is not significant. I am more concerned about the database trips, does edit all generate a lot of trips compared to clickToEdit?

Was it helpful?

Solution

Click to Edit tables perform better on the client side - this is the recommended approach of the two. An even more recommended way is a read only table with a pop-up for editing a row.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top