.data gives you acces to the entire item in the dataProvider. This is usually what I use, since it is useful when you need to look at other properties in different columns for the same row. .listData gives you just the value of labelField property. However, .listData also gives you the rowIndex and columnIndex for the itemRenderer.
-TH --- In flexcoders@yahoogroups.com, Nick Middleweek <n...@...> wrote: > > Hi, > > What is the difference between data and listData and why you use one over > the other? > > In an Adv Data Grid, I've been told that .data may render incorrect > information and .listData with getters and setters are the way forward but I > seem to be using .data ok and can cast it to XML to reach into the other > column values... > > I'm a bit lost :) > > > Cheers, > Nick >