add paddingRight just to specific column of flex grid

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-03-31T18:31:06Z Indexed on 2010/03/31 18:33 UTC
Read the original article Hit count: 367

Filed under:
|

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"/>

© Stack Overflow or respective owner

Related posts about flex

Related posts about flexgrid