Groups
Sign in
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
Remove an element from SQLFORM.grid
52 views
Skip to first unread message
Jeff Plata
unread,
May 17, 2023, 7:30:05 AM
5/17/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
I use the following code to hide the
thead
element of a grid, but I actually want to delete it. Is there a method to delete the target element? TIA.
grid.element('thead')['_hidden'] = 'hidden'
Leonel Câmara
unread,
May 18, 2023, 6:46:43 AM
5/18/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
You can do grid.elements('thead', replace=None)
Reply all
Reply to author
Forward
0 new messages