Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Docking Layout › API for LayoutPanels This topic has 2 replies, 2 voices, and was last updated 2 years, 7 months ago by Oleg Ilin. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts March 4, 2023 at 12:02 pm #104465 Oleg IlinParticipant Hi. Can I programmatically collapse this panel. Do you have any API for this? (see link below) And a second question : How to programmatically determine whether a panel is expanded or collapsed? Thank you. Best Regards, Oleg I https://disk.yandex.ru/i/o3NZbnuXzrrVlw March 6, 2023 at 5:20 am #104472 svetoslav_borislavovParticipant Hi, The only good way to do this is to get the current state, modify it and then load it. Here is an example with our getState and loadState methods: https://www.htmlelements.com/demos/docking-layout/state/ I hope this helps! Best Regards, Svetoslav Borislavov Smart UI Team https://www.htmlelements.com/ March 6, 2023 at 6:52 pm #104484 Oleg IlinParticipant Thank! Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In With Google Log In