El martes, 12 de marzo de 2019, 11:55:58 (UTC-3), Sarbjit escribió: > > Hello, > > I want to change the default text of the buttons visible in SQLFORM.GRID. > I am using the following code, but it is not updating the text > > grid.element(_title='View')['innerHTML']='Details' > > Any idea on how this can be done? >
Isn't maybe easier to edit the button name in the languages/xx.py file corresponding to the language of your application? > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.