I have some tables that I want to be easily readable and editable. We groups with information, with subgroups that should all be easy edit and overview.
We have came up with a design that works but I now need to figure out how to be able to show edit forms for each row in the tables. My first thought was to load each form using AJAX when needed, but I was unable to make the submit-button work. I now have this idea: In the view: {{for group in groups:}} {{=group.name}} - <div onclick="$('#form_iframe').attr('src', '{{=URL('crud_update', args=['update','table_to_update', group.id])}}')"> edit</div> {{pass}} {{#In another part of page:}} <iframe frameBorder='0' src='' id='from_iframe'></iframe> In the controller: def crud_update(): from gluon.tools import Crud crud = Crud(hb) crud.settings.controller = 'test' return XML(crud()) The problem is that after submit the original page is not updated with the new information, need to figure that one out... So, what is the "proper" way to do this? Should it be an iframe, an ajax call or should I load all forms from the very beginning? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.