You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to be able to control the default state of inspected objects in a published notebook. If I publish the notebook with an object in an expanded state, then it should be in the expanded state when the notebook is first opened (of course the reader can change that state by clicking the arrow as usual). But the default appearance could/should be under the control of the notebook author.
Related: when you re-evaluate a JS object cell, the Inspector loses all but the top level open/closed state.
Could we write a JavaScript object "input" analogous to the Table allowing for this sort of persistent configuration? Do we need to solve the general problem of persisting notebook state to do it with the organic Inspector? (See discussion in forum thread.)
The text was updated successfully, but these errors were encountered:
As an alternative, it might be nice to be able to explicitly pass an object into a "inspector" view that implements the inspector behavior but could take some additional parameters to describe the state of disclosure triangles, how many rows to show, etc.
So instead of obj in a cell, you could have:
viewofinspector(obj,{... options...})
Or could include it in other contexts, along the lines of:
@dhowe writes:
Related: when you re-evaluate a JS object cell, the Inspector loses all but the top level open/closed state.
Could we write a JavaScript object "input" analogous to the Table allowing for this sort of persistent configuration? Do we need to solve the general problem of persisting notebook state to do it with the organic Inspector? (See discussion in forum thread.)
The text was updated successfully, but these errors were encountered: