Not able to collapse keys on jsonEditor widget!
ParasAvkirkar opened this issue · comments
Paras Avkirkar commented
- I am creating the container for jsonEditor through jQuery
- Initialising jsonEditor instance with the container "Element" and options
- Attaching the element to my DOMTree
var divHolderTrim = createJsonDivHolder(); divHolderTrim.setAttribute("id", "jsonEditor"); var options = {"expand_height": true, "disable_collapse": false}; editor = new JSONEditor(divHolderTrim, options); editor.set(jsonData); editor.expandAll();