flex ÖÐdataGrid»æÖÆÎÊÌâ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" width="100%" height="100%">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.validators.NumberValidator;
import mx.events.AdvancedDataGridEvent;
import flash.events.MouseEvent;
import mx.events.FlexEvent;
[Bindable]
private var dataSource:ArrayCollection = new ArrayCollection([
{tjfl:'³µ¼ä'},{xh:'1',tjfl:'ÍâÐ'},{tjfl:'С¼Æ'},
{tjfl:'³µ¼ä'},{xh:'2',tjfl:'ÍâÐ'},{tjfl:'С¼Æ'},
{tjfl:'³µ¼ä'},{xh:'3',tjfl:'ÍâÐ'},{tjfl:'С¼Æ'},
{tjfl:'³µ¼ä'},{xh:'4',tjfl:'ÍâÐ'},{tjfl:'С¼Æ'},
{tjfl:'³µ¼ä'},{xh:'5',tjfl:'ÍâÐ'},{tjfl:'С¼Æ'},
{tjfl:'³µ¼ä'},{cpbh:'×ܼÆ',tjfl:'ÍâÐ'},{tjfl:'С¼Æ'},
{xh:'¼òҪ˵Ã÷'}
]);
]]>
</mx:Script>
<mx:AdvancedDataGrid id="dg1" designViewDataType="flat" sortExpertMode="true" sortableColumns="false" rowCount="5" dataProvider="{dataSource}" height="515" width="652" fontSize="14" fontFamily="Times New Roman" editable="true" horizontalScrollPolicy="auto" verticalScrollPolicy="auto" horizontalCenter="0" verticalCenter=
Ïà¹ØÎÊ´ð£º
[Bindable]
[Embed(source="../assets/add-row.gif")]
private var vcls:Class;
private function createcompletehandler(event:Event):void{
var img:Image=new Image();
img.sou ......
flex datagrid ÀïÒþ²ØijһÐÐÊý¾Ý,Íò·Ö¸Ðл
ÀýÈç,µã»÷°´Å¥Òþ²ØijһÐÐÊý¾Ý
ÔÚµãÒ»ÏÂÓÖÏÔʾ³öÀ´,лл,×îºÃ¸ø´úÂë,лл,¸Õ¿ªÊ¼Ñ§²»³¤Ê±¼ä
¿ÉÒԸıädataProvider£¬removeÒ»¸öitem¾Í¿ÉÒÔÁË£¬removeµÄitem´æÔÚÒ»¸östackÖ ......
Flex
<mx:Image source="@Embed('assets/chicago.jpg')" width="445" height="329">
<mx:filters>
<mx:DropShadowFilter blurX="4.00" blurY=" ......
BlazeDS±¨´íÈçͼ£¬Ë°ï¿´¿´
XMLת»»Òì³££¬Äã¿´¿´ÄãµÄXML
ûÕÒµ½ÉùÃ÷µÄÔªËØmodel, Ó¦¸ÃÊÇxmlÀïÃæдµÄÓÐÎÊÌâ
»»³Éblazeds-bin-4.0.0.15165°æ±¾¾ÍºÃÁË£¬ËäÈ»ÊÇnightly build°æ£¬µ«¹ÜÓ𡣡
¸úblazeds°æ±¾ÓÐ ......
×î½ü¸Õѧflex£¬ÒªÇó±àдһ¸öΧÆå³ÌÐò£¬Ä¿Ç°ÕýÄÑ°¡¡£ÓÐË×ö¹ý°¡£¬¸÷¸öÎĵµ¿´Ï°¡¡£Ð»Ð»À²£¡
End_rbody_64451718//-->
¸Ã»Ø¸´ÓÚ2010-04-06 14:03:36±»°æÖ÷ɾ³ý
¶ÔÎÒÓÐÓÃ[0]
¶ª¸ö°åש[0]
ÒýÓÃ ......