Hello,
I often have to use "field.innerField" as dataField in some
(Advanced)DataGrids. Therefore I've written a labelFunction as
mentioned in [1] which displays the value of such nested objects.

However, for obvious reasons the DataGrid doesn't notice changes to
"innerField". I've created a small example [2] which demonstrates the
problem. When you change "manufacturer" in the TextInput you see the
changes immediately in the DataGrid, but when you change the "driver's
name" the DataGrid doesn't refresh.

You can use "View source" if you want. The example is quite simple.

Do you know a way to automatically update the DataGrid whenever the
bound column (eg. "field.innerField") changes? Is it possible to
dispatch an event when innerField changes so that the DataGrid knows
which cell it should refresh?

[1] http://tech.groups.yahoo.com/group/flexcoders/message/115848
[2] http://mjl.at/temp/demo1/

Reply via email to