JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Docking Layout Panel IDs get lost when an item is set to autohide

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #103020
    rarcher
    Participant

    Why 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)?

    #103021
    admin
    Keymaster

    Hi 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 Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #103030
    rarcher
    Participant

    Hi 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?

    #103039
    admin
    Keymaster

    Hi 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 Stoev

    Smart UI Team
    https://www.htmlelements.com/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.