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 Tethys Platform
Does anybody know how to use a SelectInput gizmo inside of the DataTableView as one of the table cells? Is this possible? I tried, but am getting the input gizmo's options as text inside the cell.
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 Tethys Platform
I don't think it is possible to embed gizmos in one another. I have done a similar thing using straight HTML. It's not too difficult.
ezra.j.rice
unread,
Nov 11, 2020, 10:53:11 AM11/11/20
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 Tethys Platform
Thanks Nathan! I did eventually figure out what you just recommended. You can create a normal table in HTML using the gizmos in the desired fields and then initialize the DataTable using javascript after the DOM has finished loading. If you try to add new rows after the DataTable is initialized, you will have to do the opposite where you define the table row and gizmos in straight HTML then initialize the nested gizmos after the new row has been added to the DataTable.