0 Replies Latest reply on Sep 15, 2006 1:16 PM by Matlus

    Using a DataGrid as an ItemRenderer of a DataGrid's Column

    Matlus Level 1
      Has anyone been able to use a DataGrid as an ItemRenderer of a DataGrid's column?
      I'm not able to set the dataProvider property because the I get a compile time error that says:

      Multiple initializers for property 'dataProvider'. (note: 'dataProvider' is the default property of 'mx.controls.DataGrid').

      I think the compiler is completely confused with the nested grid. If I remove the dataProvider attribute and run the app, it runs, however the nested DataGrid has about 30 columns (while I've only defined 1) and these columns don't even have the header text defined (even though I have defined it).

      Shiv.