0

Whenever I add paddingRight to a column in the flex grid, it adds the padding to the header as well. Is anyone familiar with how I can add paddingRight just to the column and not to the header? Below is the column code where I was specifying the padding.

<mx:DataGridColumn width="60" headerText="Type" dataField="Grade" headerStyleName="headerLeft" textAlign="left"  draggable="false" resizable="false" headerRenderer="GridHeaderRenderer" paddingRight="5"/>
JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Ben
  • 784
  • 3
  • 12
  • 32

1 Answers1

1

Set the paddingRight on the column, then for the header, override the header's paddingRight in the headerStyleName. (note this won't work for paddingTop or paddingBottom)

quoo
  • 6,237
  • 1
  • 19
  • 36
  • you are correct. The headerstyle will completely override what is specified in the grid. – Ben Mar 31 '10 at 19:07