-
31 Mar 2012 10:40 PM #1
[ext-4.1-20120330] grid padding/scrolling
[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;...>
-
1 Apr 2012 9:19 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
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 @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote