开发者

Trying to extend flex datagrid to add an "add new row" row

开发者 https://www.devze.com 2022-12-18 21:37 出处:网络
I am trying to extend the fl开发者_运维百科ex datagrid component so that I can have an \"add new row\" row like MS Access but I can\'t get it to work. I have tried a few different methods but I can\'t

I am trying to extend the fl开发者_运维百科ex datagrid component so that I can have an "add new row" row like MS Access but I can't get it to work. I have tried a few different methods but I can't get anything to actually work.

By extend I really mean alter the Adobe code as some of the private vars I needed to do something else but I should be able to merge extend code with Adobe's.

Thanks for your help.


You have to make the datagrid editable and then add a new object (or whatever you are using) with empty data to the datagrid's data provider.

Here is an example I have created.

0

精彩评论

暂无评论...
验证码 换一张
取 消