Print the whole recordset? Perhaps you could: - setup your printjob - add the DataGrid as the current page - page through the next set of records that will fit on one page - add the DataGrid as the next page - continue this process until you've cycled through all records - print
??? ----- Original Message ----- From: "francescololit" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Sunday, June 12, 2005 4:19 PM Subject: [flexcoders] printjob - dagatrid Hi, I've a problem with PrintJob. I'm trying to print a record of a datagrid (myGridMail) using the function below but it's not possible. I can only print the datagrid completely but not only a recordset... Any suggestion? Thanks Francesco /******************************/ /* code */ /******************************/ function doPrint() { var pj : PrintJob = new PrintJob(); // Start the print job. if(pj.start() != true) { delete pj; return; } // Add pages. //pj.addPage(myGridMail); pj.addPage(myGridMail.selectedItem.body); pj.send(); // Delete print job. delete pj; } 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/