Hi,

I am new to Flex and I am trying to work with my extended dataProvider
class and dataGrids. The following does not work but illustrates what
I intend to do:

<mx:Model id="recordsXmlData" source="records.xml" />
<FilteredDataProvider id="fProvider" source="{recordsXmlData.record}" />
<mx:DataGrid id="dataGrid" dataProvider="fProvider" />

So I want to declare an instance of my own dataProvider class
(FilteredDataProvider) and connect it with the model. Then I want to
tell the DataGrid component to use my FilteredDataProvider instance.

The reason I want to do this is that I want to use the same
FilteredDataProvider for other components that need to work together
with the DataGrid.

So I guess I am not understanding how the data binding stuff
works.....but I'd appreaciate any hints on how to do this properly!!

Best regards,

Martijn van Welie





Reply via email to