I am building a tree-like list on my page. I’d like to offer the user
functionality to edit data associated with a subset of list items by
providing an link to a form. When a user wants to edit an item,
a form should be displayed in place of the list. When the form is
submitted the list should be redisplayed, ideally as it was and without
the need to refresh it from the database. NB, the data edited is not
displayed in the list so a refresh is not required.
I’d be grateful for some tips on how I might achieve this.