Hi,
Is there a way to add a Pane to the Dockmanager dynamically during run time. There is a Remove Pane function available with the latest Dockmanager version but could not find one for adding a new pane without having to reassign the layout Json.
Hello Sruthi,
Please refer to the documentation on our website regarding updating the dockmanager during run time:
Please note that modifying any of the properties of the layout object will not trigger an update of the Dock Manager. If that is your goal, you should replace the whole layout object like so:
const layout = this.dockManager.layout; layout.rootPane.orientation = IgcSplitPaneOrientation.vertical; this.dockManager.layout = { ...layout };
More info here:
www.infragistics.com/.../dock-manager.html
However, you can still add panes to your dockmanager using the above method. Please refer to the following sample:
https://stackblitz.com/edit/add-new-pane-dockmanager-programatically?file=src%2Fapp%2Fdock-manager-sample%2Fdock-manager.component.ts
Should you have any further questions, please let me know.
Sincerely,Tihomir TonevAssociate Software DeveloperInfragistics