How to Change Document View in JavaScript DOCX Editor
28 Aug 20261 minute to read
How to change the document view in the DOCX Editor component
JavaScript DOCX Editor (Document Editor) allows you to change the view to web layout or print layout using the layoutType property with the supported LayoutType.
var docEdit = new ej.documenteditor.DocumentEditor({ layoutType: 'Continuous'});Default value of
layoutTypein the DOCX Editor component isPages.
How to change the document view in the Document Editor Container component
The Document Editor Container component allows you to change the view to web layout or print layout using the layoutType property with the supported LayoutType.
var container = new ej.documenteditor.DocumentEditorContainer({ layoutType: "Continuous" });Default value of
layoutTypein the Document Editor Container component isPages.