Dan_Z
Databricks Employee
Databricks Employee

hey @afshin riahi​ - a spent a good amount of time trying to get this working. I thought I could update an existing widget directly using a javascript function that gets triggered onClick, but there are deeper issues because displayHTML() uses a locked-down sandbox.

The good news is that we have some new functionality coming out that does this and much more. It is called ipywidgets. We are actually signing up customers right now for Private Preview of this feature. If you want to go forward on this, this is your best bet. Reach out to your CSE or AE and ask to be added to that.