Results 1 to 2 of 2

Thread: [ext-4.1-20120330] grid padding/scrolling

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Germany, Frankfurt
    Posts
    143
    Vote Rating
    1
      0  

    Default [ext-4.1-20120330] grid padding/scrolling

    I would like to have scrolling on a grid and padding inside NOT OUTSIDE the scroll area.
    Setting the attributes

    bodyPadding: 10,
    scroll: 'vertical'

    on the grid I get the scrolling inside a padded div. How can I do it the other way round. Is it a bug?

    For info ... it renders to
    Code:
    <div id="grid-body" ... style="padding: 10px; ...">
    <div id="gridview-1014"  style="overflow-x: hidden;  overflow-y: auto;...>

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    The issue is the title header, column headers and rows are all in the same level. So you will need to do some CSS work to get it the way you wish.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    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
  •