데이터 그리드에 이미지를 넣어 보자..
이 소스는 인터넷으로 검색 해 보면 금방 나옴니다.. ^^ㅋ
그래서.. 전.. 제가 자주 가는 Flex Component로 향했구요..
이 곳에서..닉네임을 쎄미라고 쓰시는 분께서 정보를 제공해 주셨습니다.
(ㄳㄳ..)
전.. 이것을 잊어버리지 않기 위해!
블러그로 포스팅 했습니다..
<mx:DataGrid id="dg" left="10" top="103" bottom="10" right="10" >
<mx:columns>
<mx:DataGridColumn headerText='제목' dataField='title' width="520">
<mx:itemRenderer>
<mx:Component>
<mx:HBox horizontalGap="1" horizontalScrollPolicy="off">
<mx:Image source="image/icoreply.gif" />
<mx:Image source="{data.image}" />
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
<mx:columns>
<mx:DataGridColumn headerText='제목' dataField='title' width="520">
<mx:itemRenderer>
<mx:Component>
<mx:HBox horizontalGap="1" horizontalScrollPolicy="off">
<mx:Image source="image/icoreply.gif" />
<mx:Image source="{data.image}" />
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
댓글 없음:
댓글 쓰기