I just realized that from mx perspective where list and dataGrid shared same ancestor, and dataProvider property was on ListBase level
actually dataProvider have been moved down to Datagrid level so I am having hard time figuring out the way to create a skinableComponent that has list of items and to allow skin to choose between displaying those items via list or via datagrid, the only thing I really want them to share is the dataprovider property.
I could of course create two optional skin parts but that sounds ittle combursome,or I could create two components one for only lists and another one explicitly for dataGrid that also sounds wrong, all these is kind of pushing me to go ahead and use mx LisBase but then again that sems like going backwards as well ...
Bump Still would like to hear about this issue
You may be interested in this minor enhancement: http://bugs.adobe.com/jira/browse/SDK-23431 It's currently focused on DataGroup and SkinnableDataContainer, but DataGrid would be considered in there too.
Can you please vote for that issue and leave a comment with your use case?
Can you please expand a little on what your component is that has data that can be shown in either a List or a DataGrid?