jQWidgets Forums

jQuery UI Widgets Forums Layouts DockPanel can individual panels in jqxDockPanel be selectively rendered?

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 2 months ago.

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

  • d_l
    Member

    I’ve followed the demo where the entire jqxDockPanel can be rendered to a new layout .. but my question is .. can individual panels be rendered to avoid the overhead of rendering other panels which have not changed content?

    I have in mind populating some panels with large trees and these can remain unchanged while the other panels change.

    I would also like to retain some pre-populated panels “off stage” and simply switch panels in and out of jqxDockPanel to achieve different layouts.   How can I do this?   Could I just apply jQuery methods to the target panels to swap/switch them instead of re-rendering the entire jqxDockPanel?

     


    Peter Stoev
    Keymaster

    Hi,

    jqxDockPanel sets CSS “width”, “height”, “top”, “left” and “position” properties of its panels depending on their ‘dock’ attributes. It does not understand of children content and layouts all panels at once. To re-render it, you may call the ‘render’ method.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.