JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Lock\disable a docking LayoutPanel from being resized › Reply To: Lock\disable a docking LayoutPanel from being resized
The docking layout update()
method does not appear to be working either. I added the code below at the end of my first code snippet above, and the ‘Header’ LayoutPanel title and content are not updated after the update
method is called:
`setTimeout(function () {
docking.update(0,
{
label: ‘Header 2’,
type: ‘LayoutPanel’,
size: 100,
min: 100,
max: 100,
locked: true,
items: [{
label: ‘Header 2’,
type: ‘LayoutPanelItem’,
content: ‘Header Content 2’,
}]
});
}, 5000);`
I assume the index
parameter to the update()
method is 0-based; I tried ‘1’ for the index, but that did not work either. Please let me know if I am doing something wrong.