What is the replacement for labelFunction in Spark DataGrid?

假如想象 提交于 2019-12-11 07:44:00

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/6029922/what-is-the-replacement-for-labelfunction-in-spark-datagrid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!