SIAMFLEX

My flex project

การใส่ปุ่มลงไปใน Datagrid

| Filed under Adobe Flex Builder

<mx:DataGrid id=”data_member” width=”100%” height=”100%” updateComplete=”handleUpdateComplete(event)” editable=”false” dataProvider=”{member_list}” fontFamily=”Arial” fontSize=”12″>
<mx:columns>
<mx:DataGridColumn headerText=”#” dataField=”id” width=”35″/>
<mx:DataGridColumn headerText=”รหัส” dataField=”no” width=”75″/>
<mx:DataGridColumn headerText=”A” dataField=”agent” width=”35″ />
<mx:DataGridColumn headerText=”ชื่อผู้ใช้” dataField=”username” width=”100″/>
<mx:DataGridColumn headerText=”ชื่อ” dataField=”fullname” width=”150″ />
<mx:DataGridColumn headerText=”e-mail” dataField=”email”/>
<mx:DataGridColumn headerText=”โทร” dataField=”phone”/>
<mx:DataGridColumn headerText=”ธนาคาร” dataField=”bank”/>
<mx:DataGridColumn headerText=”เลขที่บัญชี” dataField=”number”/>
<mx:DataGridColumn headerText=”" width=”200″>
<mx:itemRenderer>
<mx:Component>
<mx:HBox horizontalAlign=”center”>

</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>