In this example attachPane dynamically creates a 'slot' entry with innerHtml set to 'This pane is added at runtime'.Is it possible to add a component instead, I want to place an igx-tree-grid on the pane.
Hi Wytze,
Thank you for posting to Infragistics Community!
Sure, it is possible to achieve this by leveraging Angular’s Dynamic component loader.
To demonstrate this, I created this sample with an IgcDockManager in an Angular app, where ContentPanes are dynamically added and contain a component, which hosts an IgxTreeGrid.
Please, test it on your side and if you require any further assistance on the matter, please, let me know.
Best regards, Bozhidara Pachilova Associate Software Developer
Great, thank you for this solution.This works for me.
I am glad that you find my suggestion helpful. Thank you for using Infragistics components!
Best regards, Bozhidara Pachilova