I was trying to insert an new tab item into an existing tab and see that the items collection is null.
I then tried the same in the Blazor sample in which I tried all of the insert methods to insert a new tab item into an existing Tab but it too shows the items collection is null.
I tried the following which does not work…
private void OnReady(DockingLayout dockingLayout)
var targetIndex = dockingLayout.GetIndex(“tabPanel”);
if (targetIndex != null)
var newPanel = new object
label = “Output Tab2”,
content = “OutPut Tab2”
Using the Blazor sample, within the OnReady event handler, can someone please provide and example as to how to insert a new tab item to the right and also sample to the left of the existing TabA in the sample?
How come the items collection is null in the Blazor Sample’s OnReady event handler, shouldn’t that have values?
How do I get the panel associated to TabA given that the items collection is null?
Items, ClosedItems, UndockedItems and AutoHideItems are deprecated properties which will be removed from the DockingLayout Blazor component. Within the OnReady function the component by default is rendered and initialized. You can call its methods and set properties there. API for inserting an item like the one you request is not available at present. We will create a work item about adding it in future release.
Smart UI Team https://www.htmlelements.com/