Hi, You can create another .mxml file for print view. After firing print command, you can populate the printView.mxml from main DataGrid's dataProvider and send it to print job instead of main datagrid.
I posted something similar, might help you... http://www.abdulqabiz.com/blog/archives/macromedia_flex/000099.php -abdul -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of francescololit Sent: Monday, June 13, 2005 2:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] printjob - dagatrid - Problem Hi, my problem is that I want to print only a record set. here is my datagrid (myDataGrid) ========================================================== >From | subject | date | ========================================================== pippo | ciao | 20.06.05 | ---------------------------------------------------------- pluto | Hello | 12.04.05 | ---------------------------------------------------------- paperino | Bonjour | 27.01.03 | ---------------------------------------------------------- topolino | Ola | 22.06.05 | ---------------------------------------------------------- I'd like to get only: myDataGrid.From myDataGrid.subject myDataGrid.Date The output (on the paper) should be like this: ---------------------------------------------------------- From: pluto subject: Hello date: 12.04.05 ---------------------------------------------------------- But the printjob.addPage() seems not able to accept parameter like this printjob.addPage(myDataGrid.subject) Any suggestions? Thanks Francesco Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/