jQuery UI Widgets Forums Layouts Layout and Docking Layout floatGroup shown twice

This topic contains 1 reply, has 2 voices, and was last updated by  Yavor Dashev 1 year, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • floatGroup shown twice #115282

    Crisium
    Participant

    saving the layout with:

    let layout = (<any>$(‘#jqxDockingLayout’)).jqxDockingLayout(‘saveLayout’);
    let json_layout:string = JSON.stringify(layout, null, 2);

    restoring it with:

    (<any>$(‘#jqxDockingLayout’)).jqxDockingLayout(‘loadLayout’, JSON.parse(json_layout));

    I have one floatGroup dialog and when loading the data I get two?!?

    this is what is saved for the floatGroup:

    {
    “type”: “floatGroup”,
    “width”: 300,
    “height”: 200,
    “position”: {
    “x”: 100,
    “y”: 100
    },
    “items”: [
    {
    “type”: “layoutPanel”,
    “title”: “Rates”,
    “content”: “<div id=’9fdf5f34-7adf-886c-7cea-f723f760456e’></div>”,
    “index”: 0
    }
    ],
    “index”: 1
    }

    floatGroup shown twice #117603

    Yavor Dashev
    Participant

    Hi Crisium,

    This topic partially duplicates with another one from you which I replied to you:
    https://www.jqwidgets.com/community/topic/savelayout-loadlayout-weird-behavior/

    Please, don’t hesitate to contact us if you have any questions!

    Best Regards,
    Yavor Dashev
    jQWidgets team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.