jQuery UI Widgets Forums Layouts Layout and Docking Layout Edit float panels

This topic contains 2 replies, has 2 voices, and was last updated by  aqssas 3 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Edit float panels #90986

    aqssas
    Participant

    Hi support team,

    How can i edit the width/height/title for a float panel, i tried the following but it’s not working:

    $('#jqxDockingLayout').on('float', function (event) {
                    var floatedItem = event.args.item;
                    floatedItem.width=50;
                    $('#jqxDockingLayout').jqxDockingLayout('render')
                });
    

    Thanks,
    Akram

    Edit float panels #91016

    Dimitar
    Participant

    Hi Akram,

    Please try the following solution instead:

    $('#jqxDockingLayout').on('float', function (event) {
        var floatedItem = event.args.item;
        floatedItem.widget.jqxWindow({ width: 50 });
        floatedItem.width = 50;
    });

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Edit float panels #91029

    aqssas
    Participant

    That’s did it, Thanks Dimitar

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

You must be logged in to reply to this topic.