Spark DataGrid中labelFunction的替换是什么? [英] What is the replacement for labelFunction in Spark DataGrid?
本文介绍了Spark DataGrid中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屋!
查看全文