web2py elements allows me to parse the dom; change attributes; and insert elements. But is it possible to remove elements entirely or to replace elements with new html?
e.g. I can hide the buttons in a grid by doing this: pagination=grid.elements('.web2py_paginator') if pagination: pagination[0].update(_style="visibility:hidden") But is there a way I could replace the buttons with some html generated in web2py?