json-editor icon indicating copy to clipboard operation
json-editor copied to clipboard

Not able to collapse keys on jsonEditor widget!

Open ParasAvkirkar opened this issue 7 years ago • 0 comments

  1. I am creating the container for jsonEditor through jQuery
  2. Initialising jsonEditor instance with the container "Element" and options
  3. 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();

ParasAvkirkar avatar Dec 20 '17 14:12 ParasAvkirkar