Results 1 to 4 of 4

Thread: Different docked containers and same grids

  1. #1
    Sencha User biohazardo's Avatar
    Join Date
    Jan 2012
    Posts
    48
    Vote Rating
    -1
      0  

    Question Different docked containers and same grids

    There are two grids. Summary feature adding docked containers in two that grids. They looks like:
    Case1.jpg


    Case2.jpg
    Why?
    I can set style by style property. But problem isn't in it.
    When I have not much rows in the grid - that summary container isn't shows. But if I will resize window - it will appear. I did console.log on grids and docked containers - they are very similar. Both of them have 2 bottom docked components, scroller and summary container. What's the problem? Container layout: fit.

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,121
    Answers
    3981
    Vote Rating
    1429
      0  

    Default

    Inspect the DOM, is there a class added to one the other doesn't have?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User biohazardo's Avatar
    Join Date
    Jan 2012
    Posts
    48
    Vote Rating
    -1
      0  

    Default

    Quote Originally Posted by mitchellsimoens View Post
    Inspect the DOM, is there a class added to one the other doesn't have?
    Normal docked container have three additional classes:
    • x-docked-noborder-right
    • x-docked-noborder-bottom
    • x-docked-noborder-left
    Where they come from? I need just add it to another?

  4. #4
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,121
    Answers
    3981
    Vote Rating
    1429
      0  

    Default

    Those are added by the framework when no border is wanted.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •