grid structure manipulation

44 views
Skip to first unread message

icodk

unread,
Jan 19, 2026, 6:32:52 AMJan 19
to py4web
I try to change the grid's New button  from New to something like: New Person
I tried the following :
grid.render().find('[span.grid-new-button-text]')[0]['text'] = 'New Person'
but nothing changed.
What is the right way to do it ?

icodk

unread,
Jan 28, 2026, 2:10:41 AMJan 28
to py4web
grid.param.new_action_button_text=T('Add new car')

Wouter L.

unread,
Jan 28, 2026, 12:03:42 PM (14 days ago) Jan 28
to py4web
Thanks for sharing this solution. I was looking for this too.

Op woensdag 28 januari 2026 om 08:10:41 UTC+1 schreef icodk:
Reply all
Reply to author
Forward
0 new messages