1. #1
    Sencha User
    Join Date
    Jul 2012
    Location
    India
    Posts
    4
    Vote Rating
    0
    syedaq is on a distinguished road

      0  

    Default 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

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,021
    Answers
    385
    Vote Rating
    183
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    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.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Location
    India
    Posts
    4
    Vote Rating
    0
    syedaq is on a distinguished road

      0  

    Default


    thanks slemmon for replying,

    header: { margin: '0 0 10 0' }, will apply margin to Title of the Grid panel , not the grid header

Thread Participants: 1