Spark DataGrid中labelFunction的替换是什么? [英] What is the replacement for labelFunction in Spark DataGrid?

查看:164
本文介绍了Spark DataGrid中labelFunction的替换是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

mx:DataGrid有一个名为labelFunction的属性。我将我的数据网格迁移到Spark,但它没有这个属性。如何取代这个功能?

GridColumn类中的/FlashPlatform/reference/actionscript/3/spark/components/gridClasses/GridColumn.html#labelFunction\">labelFunction 属性。



请指出,您将使用与MX DataGrid相同的方法。 labelFunction 是DataGridColumn中的一个属性类;不在DataGrid上。


mx:DataGrid has a property called "labelFunction". I'm migrating my datagrid to Spark, but it doesn't have this property. How should I replace this functionality?

解决方案

Use the labelFunction property on the GridColumn class.

I'll point out, you would have used the same approach w/ the MX DataGrid. The labelFunction was a property on the DataGridColumn class; not on the DataGrid.

这篇关于Spark DataGrid中labelFunction的替换是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆