Yes it will take some work. This is what you could do rather easily. Build a table with your serverside code. Set the rows you do not want to show to hidden with style="display:none" to show it you would change the property to block.
For the request that gets tricky. You could use AJAX to avoid submitting a form.
Joined: Nov 08, 2001
You would need to format the data to send to the server. You either can put the whole thing into a textarea or multiple text boxes and submit it. As you said you can not just send an JS object to the server.