1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    64
    Vote Rating
    0
    Answers
    2
    punith.mailme is on a distinguished road

      0  

    Default Unanswered: Field Container over Panel? use and why...

    Unanswered: Field Container over Panel? use and why...


    Hi All,

    I have a set of combobox, Text fields and Radio fields within a panel. I cannot use Fieldset here as its too complex mixture of all components (this was the requirement ).
    I have a outer panel and have many fieldcontainers inside.

    I need a little insight of why not to use Panel with Items. and use Fieldcontainers with items.??

    i know that Panels are little heavy and Containers are lighter for the performance.
    Please provide some more information for the above reason,

    Thanks
    Punith

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    Answers
    124
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    Containers provides a suite of utilities, which includes add, insert, and remove methods. These methods areused by most of the subclasses, including Panel, Viewport, and Window.

    while Panel is a direct descendant of Container, which includes a vast variety of features like title bar, tools section.

    so it is obvious panel is much more complex than a simple container in terms of performance.

    for more detailed description, you may refer to the API docs.
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

Tags for this Thread