jQuery UI Widgets Forums Layouts Layout and Docking Layout saveLayout, loadLayout weird behavior

This topic contains 26 replies, has 2 voices, and was last updated by  Crisium 1 day, 1 hour ago.

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author

  • Yavor Dashev
    Participant

    Hi Peter,

    For your use case it will be necessary to use the saveLayout method like this:
    let data = (<any>$(‘#jqxDockingLayout’)).jqxDockingLayout(‘saveLayout’);

    And missing the saveLayout and loadLayout in the _proto_ its really the reason why saveLayout method is not working that is why for the time being in order to work you will have to used as in the code snippet above.

    I will discuss this matter further with my colleagues.

    And apologies for the late reply, we work on various priorities and your case was a specific one.

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

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


    Crisium
    Participant

    Hi Yavor,

    yes I have to use the let data = (<any>$(‘#jqxDockingLayout’)).jqxDockingLayout(‘saveLayout’); , but this results with the floating dialog being loaded twice.

    there is something wrong with the docking layout.

    I can revert back to the example that shows this error, the current version was to prove that your example did not work.

    Peter


    Yavor Dashev
    Participant

    Hi Peter,

    Yes, revert the changes because I didn’t reproduce the case when the dialog is loaded twice on ‘loadLayout’.
    I want to access the case and if it is a bug we will create a work item for it to fix it as soon as we are able to.

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

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


    Crisium
    Participant

    I have put the code back into the state that shows the double float dialog.

    https://github.com/Crisium/jqtest

    To reproduce:

    Open a browser to the website.
    Press “Create Floating Panel”
    Refresh your browser
    Press “Load”, dialog will appear
    move the dialog and you will see a copy underneath

    good luck,
    Peter


    Crisium
    Participant

    do you have a status update? I am still waiting for this fix.


    Yavor Dashev
    Participant

    Hi Peter,

    Yes the behavior is visible and this is definitely a bug and I will need a bit more time to assess it and maybe come with ‘workaround’ for it.
    I will keep you updated if a workaround is an option.

    Also in the mean time I can suggest you to take a look the counterpart of this component from our other library SmartUI:
    https://www.htmlelements.com/demos/docking-layout/overview/

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

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


    Crisium
    Participant

    I hope we get a fix and not a workaround for it.

    I did look into the “smart” stuff you suggested, just find it is missing files and is incorrectly setup npm.

    This does not exist:
    <script type=”module” src=”../../source/modules/smart.dockinglayout.js”></script>

    nor is there any .d.ts files

    it is like the “free” version is missing almost everything (I am assuming it is the free versions fault).

    The whole reason for looking into jqwidgets is because we are hitting limitations/problems with easyui at our company. We are looking for an alternative solution and jqwidgets seems to be a good fit. But right out of the box we are experiencing problems.


    Crisium
    Participant

    any updates?


    Crisium
    Participant

    is this issue dead? I have also made a github issue here: https://github.com/jqwidgets/jQWidgets/issues/417

    if this issue is dead, please tell, so I can move onto some other library.


    Yavor Dashev
    Participant

    Hi Crisium,

    We cannot tell you exactly when the issue will be resolved, because we have other priorities and products as well which also need to be resolved.

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

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


    Crisium
    Participant

    not being able to load or save a layout sounds like a high priority to me?


    Crisium
    Participant

    I can see there is a new version of the jqwidgets. any chance you guys have fixed this bug.
    Simple put I cannot use this library with this bug.

    I have already started making my own gui library, since the turn around time for fixing bugs here is way too long.

Viewing 12 posts - 16 through 27 (of 27 total)

You must be logged in to reply to this topic.