Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Docking Layout › Panel IDs get lost when an item is set to autohide
Tagged: docking layout items ids
- This topic has 3 replies, 2 voices, and was last updated 3 years, 7 months ago by
admin.
-
AuthorPosts
-
March 29, 2022 at 10:02 pm #103020
rarcher
ParticipantWhy does Smart Docking Layout change the Panel Item IDs to internally generated one if the panel is set to autohide?
This is a massive problem as we need various functions to refer to the panel IDs to then manipulate the content dynamically. However as the ID gets changed to something arbitrary, we have lost control of matching the original IDs defined and the actual pseudo IDs created by the Smart Docking Layout component – not very smart !!
One example is that after restoring a layout there is no way to restore the content to any panel that was autohidden since its IDs is not related with the originally Panel IDs defined in our layout definition code.
Is there some workaround solution to this that we can apply until hopefully this unusual approach of replacing certain IDs could be changed (we are using JS as the language here)?
March 30, 2022 at 6:14 am #103021admin
KeymasterHi rarcher,
When you autohide a layout panel with tabs, you can unpin individual tabs which results in creating new owner panels with new ids.
We will add a work item to investigate the reported issue. At present, there is no way around this.Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/March 30, 2022 at 4:28 pm #103030rarcher
ParticipantHi Peter,
thanks for the response. Whilst I agree that a tab may have a new parent, it should retain it own individual ID as when created. Without that there is no way to reference it safely.
Without this the save and load layout functionality cannot be used unless all the panels/tabs remain visible (i.e. no autohiding).
Is there somewhere one can see when these work items are planned to be included in a future release?
April 1, 2022 at 4:11 am #103039admin
KeymasterHi rarcher,
You can see the features in development on our roadmap page is: https://www.htmlelements.com/docs/roadmap/.
When we have a release we publish the release notes which include information about new features, improvements and bug fixes: https://www.htmlelements.com/docs/release-notes/Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/ -
AuthorPosts
- You must be logged in to reply to this topic.