Changing editor params

Discussion created by msbsmith on Feb 3, 2011

I have been working with the Editor and I've got everything working.  What I now need to be able to do is change the properties/params of the editor after it has been created, basically to show different things depending on user activity.
For example if I want to hide the toolbar, I would like to set the parameter like this: myEditor.params.settings.toolbarVisible = false which works in that the value is now set to false, but is not reflected on-screen (the toolbar is still there).  In this example I know I could just change the visibility of the containing div, but the point here is I'd eventually like to manipulate various properties of the Editor (layerInfos, templatePicker etc), and the toolbar setting is the simplest example I could think of to put on the forum.

If what I want requires some kind of 'destroy' and 're-creation' of myEditor dijit, then that's ok, but I've been trying for ages to work out how to do that too with no luck.

Any help would be great.

Thank you,