문제

This is similar to this question I asked last week.

My dataGrid is populated with three phone numbers per row. Each phone number is pulled from an array and displayed using a labelFunction, while the name and description come from the dataProvider. I used the really helpful solution to my last question with some success, but can't grab the actual data.

Maybe I've spent too much time on it but I'm stumped and stuck.

도움이 되었습니까?

해결책

I was able to get the specific data using the code below, thanks to help from a collegue:

var x:DataGridItemRenderer = event.itemRenderer as DataGridItemRenderer;
var y:DataGridListData = x.listData as DataGridListData;
var z:String = y.label;

I hope this helps someone.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top