简体   繁体   中英

Binding sum of a column of a datagrid to a formitem's text in Flex3

I want to bind sum of a column of a datagrid to a FormItem'text which is shown below of that datagrid. Any help is greatly appreciated!

You can use a loop to parse your dataProvider to build the total and then put that total in your form item.

You can add valuecommit event on your datagrid and call your script to build the sum.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM