Forum /
Ext JS Community Forums 4.x /
Ext: Q&A /
Unanswered: Grid Panel, Need padding only for grid body and grid header, not for panel title
Unanswered: Grid Panel, Need padding only for grid body and grid header, not for panel title
Hi,
i am trying to get padding for Grid Panel,
using
Code:
padding : '10 5 3 10'
, it applies to title to, is there any way to apply only for grid header and the grid body
thanks
Sencha - Support Team
Closest I saw was bodyPadding on the grid, but it applies to the body of the grid and not the header. For that maybe something like: header: { margin: '0 0 10 0' }?
Best of luck.
thanks slemmon for replying,
header: { margin: '0 0 10 0' }, will apply margin to Title of the Grid panel , not the grid header
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us