At the moment is not possible to change it directly in grid or smartgrid. This is because the javascript variable is fixed, assigned in https://github.com/web2py/web2py/blob/master/applications/welcome/views/web2py_ajax.html and then used in https://github.com/web2py/web2py/blob/master/applications/welcome/static/js/web2py.js#L186
Depending on your use case you can either translate the sentence defined in web2py_ajax.html or add your custom logic in order to change the content of the w2p_ajax_confirm_message javascript variable. Paolo On Tuesday, April 18, 2017 at 6:00:21 PM UTC+2, Andrea Fae' wrote: > > How to change customized message in the confirmation dialog about delete a > record using grid or smartgrid? (depending on the situation) > Any examples? > > > -- 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.