1 Reply Latest reply on Oct 10, 2011 12:19 AM by pjoshi_infocepts

    How to convert s:datagrid columns to mx:datagrid columns? [Anybody can help me with this?]

    flexy8 Level 1

      Hi guys, how may I convert spark datagrid columns to mx datagrid columns?

       

      The situation is, I want to print what is inside my spark datagrid. To do that so I can print multiple pages, I have to use a PrintDataGrid component which is an mx component. The columns on my spark datagrid should be passed to the PrintDataGrid columns..

       

      printGrid.columns = myDg.columns;

       

      ... this doesn't work because they are different objects. Is there other way to do this?

       

      Thanks.