首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 媒体动画 > flex >

flex datagrid列修改后怎么捕捉及触发

2012-07-30 
flex datagrid列修改后如何捕捉及触发A.FLEXs datagrid have below properties to catch the event of th

flex datagrid列修改后如何捕捉及触发

A.

FLEX's datagrid have below properties to catch the event of the modify of the datagrid (the editable is true).

?itemEditBegin="dg_itemEditBeginHandler(event)"

itemEditBeginning="dg_itemEditBeginningHandler(event)"

itemEditEnd="dg_itemEditEndHandler(event)"

itemEditorCreate="dg_itemEditorCreateHandler(event)"

?

below is my test reslult :

the order of the trigger of the above four events .

?

?

    itemEditBeginning?itemEditBeginitemEditorCreate ? ? ? -->trigger when the editor is createditemEditEnd ? ? ? ? ? ? ?-->after edit the data of the column

B.if you use the datasource's listener to listen the modify :? ? ? ? ?.addEventListener(CollectionEvent.COLLECTION_CHANGE,function);

热点排行