Results 1 to 2 of 2

Thread: Grid height possible bug?

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    4
    Vote Rating
    0
      0  

    Default Grid height possible bug?

    This is probably not a bug, just me not getting the container things, but when I do:
    Code:
    <Panel flex={1} shadow title="Panel" padding={10} margin={5}>
      <Grid store={store} flex={1}>
        <Column text="Name" dataIndex="name" flex="1"/>
        <Column text="Email" dataIndex="email" flex="1"/>
        <Column text="Phone" dataIndex="phone" flex="1"/>
      </Grid>
    </Panel>
    The grid does not appear... I need to add height=100%"

    Code:
    <Panel flex={1} shadow title="Panel" padding={10} margin={5}>
      <Grid store={store} flex={1} height="100%">
        <Column text="Name" dataIndex="name" flex="1"/>
        <Column text="Email" dataIndex="email" flex="1"/>
        <Column text="Phone" dataIndex="phone" flex="1"/>
      </Grid>
    </Panel>

    Is this the expected behaviour ?

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,874
    Vote Rating
    81
      1  

    Default

    Why are you putting a grid inside a panel?

Similar Threads

  1. Replies: 1
    Last Post: 12 Sep 2010, 8:33 AM
  2. fit grid height to windows/viewport height
    By dahool in forum Ext 2.x: Help & Discussion
    Replies: 16
    Last Post: 12 Nov 2008, 6:20 AM
  3. Expanding Height of Grid to Match Height of Document
    By jrochman in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 23 Dec 2007, 1:47 AM

Posting Permissions

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