There should be an example in the docs of creating an item editor for MX
List and DataGrid using MXItemRenderer wrapping Spark controls
I'm asking how do you create item editors for Spark controls, for example how do you create item editors for a Spark List, or a Spark ComboBox, or a Spark DropDownList, or the Spark ButtonBar and TabBar controls.
I know there are examples for how to create item editors for MX controls. I'm asking about creating item editors for Spark controls.
1 person found this helpful
Only a few MX components like List, DataGrid and Tree supported item
editors. I don't believe MX ButtonBar and MX TabBar did. Some folks may
have extended them to allow editing of buttons and tabs.
The shipping Spark controls don't really support item editing. You can
create a focusable renderer for Spark List and set hasFocusableChildren on
the List and some skin parts and it might work, but it might have issues
with virtualLayout and other corner cases.
The upcoming Hero release will support item editors in the Spark DataGrid.
Okay. Thanks for the response. I guess this statement is true then:
"Item editors are not fully supported in Spark controls. When you need item editor functionality, use the MX controls that do support item editor functionality."
I ask this because I am writing a guide "Flex 4 for Flex 3 Developers" and I need to know how to position Flex 4 regarding item editors.
By the time your book gets to the NY Times best seller's list, it is likely
that Hero will have shipped and Spark DataGrid will support editing.
Ha !!! Its highly unlikely that it will make it on any best sellers list, if I even get it done.
I'm trying to write it because doing so forces me to learn Flex 4 at a deeper level.
I'm assuming Flex 4.5 does not have the same sea change differences from Flex 4 that we saw from Flex 3 to Flex 4.
4.5 won't have major API "changes", but should have significant "new" APIs
because of the mobile components and mobile application support. It will
likely have a different set of best practices for mobile applications.
Flex 4.5 was released. I don't see any help topic named "Using Spark item editors in Spark list-based controls".
Could you provide a link?