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

<*> 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/
 


Reply via email to