블로그 이미지
다엄
잘해야지

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Notice

    'Programming/Flex'에 해당되는 글 6

    1. 2010.02.09 DataGrid header만 가운데 정렬하기
    2010. 2. 9. 10:04 Programming/Flex

    출처 : http://butterfliesandbugs.wordpress.com/2007/08/10/datagrid-headerstyle-doesnt-override-column-styles/


    <mx:Style>
           
    .headerCustomStyle
            {
                  fontWeight : 'bold';
                  textAlign : 'center';
                  color  : #0000FF;
            }
    </mx:Style>

    <mx:DataGrid headerStyleName="headerCustomStyle">


    이렇게 해주면 된다.
    간단하군 -ㅅ-

    posted by 다엄
    prev 1 2 3 4 5 6 next