Open jcheng5 opened 1 year ago
Is there any updates or follow-ups with this issue. I'm encountering the same issue when trying to implement ipydatagrid
into a python shiny app.
Note: I'm using versions ipydatagrid==1.1.12
and shinywidgets==0.2.1
I haven't looked into this at all, but a potential workaround might be to import ipydatagrid
at the top of the server
function?
I agree with the conclusion by @cpsievert.
If you put import ipydatagrid
inside the server module you can get this widget to work.
@module.server
def metrics_explorer_server(input, output, session, metrics_data):
import ipydatagrid
<... etc. ...>
I agree with the conclusion by @cpsievert.
If you put
import ipydatagrid
inside the server module you can get this widget to work.@module.server def metrics_explorer_server(input, output, session, metrics_data): import ipydatagrid <... etc. ...>
Wow. That worked. Thanks @andrie and @cpsievert.
I think this should be fixed in ipydatagrid 1.3.2, which is probably due to https://github.com/bloomberg/ipydatagrid/pull/400
Reported by @andrie
App:
Simply starting the app gives this: