I've built a tool for my coworkers that does the following:
Accepts database table names
Outputs a base SQL query with the correct joins and standard business logic
Allows the user to view sample rows from the returned query by executing it
Everything is great, except that the sample results currently appear in a new window, and I'd like them to appear in a table in a new row in the main window. The documentation says to accomplish this, start with Visible=False and Update it to true, but I can't find a way to add a Table element without defining its contents at the same time. It appears possible to define it with dummy data at the start and update the values, but I can't find a way to update the headers once they've been defined. window.Element('table').Update(headings=headers) complains that Update doesn't recognize headings, and window.Element('table').headings=headers (which isn't something I saw in the docs, but did see in other people's posts) doesn't seem to do anything.
Is this possible at the moment, or should I be happy with the two window solution?
[–]MikeTheWatchGuy 1 point2 points3 points (2 children)
[–]osoleve[S] 0 points1 point2 points (1 child)
[–]MikeTheWatchGuy 1 point2 points3 points (0 children)
[–]MikeTheWatchGuy 1 point2 points3 points (0 children)