How can i print a AdvancedDataGrid in multiple pages with ColumnHeaders?

Hi all,
I need to print a AdavancedDataGrid in multiple pages with columnheaders in all pages.
Rite now, i can able to print column headers in first page only.
is there any chance to split the ADG into multiple pages with columnheaders??
Thanks in Advance
Shravan.

Shardul,
Thanks for your help.
Your logic is working fine when i have a single datagrid.
What i'm doing here is, i took a VBox(playout) and printing 2 ADG's in that,so the column headers of 2nd ADG are not printing when it continues to next page.
Here is the sample code:
custComp1
custComp2 are ADG's
<mx:VBox id="playout" width="100%" visible="false" includeInLayout="false"></mx:VBox>
private function preparePrint():void{
var x:custComp1 = new custComp1();
var y:custComp2 = new custComp2();
x.dataProvider = arrayColl1;
playout.addChild(x);
if(arrayColl2 >=1){
playout.addChild(y);
y.dataprovider = arryColl2;
while(y.adg.validNextPage){
playout.addChild(y);
y.adg.nextPage();
private function doPrint(event:Event):void{
var printJob:FlexPrintJob = new FlexPrintJob();
if(printJob.start()) {
playout.includeInLayout = true;
playout.visible = true;
printJob.addObject(playout);
printJob.send();
playout.visible = false;
playout.includeInLayout = false;
is there any way to get column headers when we use printing multiple ADG's in a VBox?

Similar Messages

  • How can I print an envelope from a Pages document ?

    How can I print an envelope from a Pages document?

    Not from a document, but there are envelope templates in Pages you can use.

  • How can i print logo in all the page

    i've created a form(SAP script) which have  five page.pls can anybody tell me how can i print logo in all the five page?

    hi,
    u can try this in
          windows
    change window type as CONST or MAIN.
    cheers,
    sam

  • How can I Reconcile all tables on multiples mappings with scripting????

    I have OWB 9.2.0.2.8
    I have to reconcile all tables and external tables on multiple mappings.
    How can I do it with scripting language, please?
    Thanks very much in advance!!!!

    Good afternoon Claudio,
    Should be something like this:
    foreach mapName [OMBLIST MAPPINGS] {
      puts "Checking $mapName"
      foreach tabName [OMBRETRIEVE MAPPING '$mapName' GET TABLE OPERATORS] {
        puts "Reconciling $tabName"
        OMBRECONCILE TABLE '$tabName' \
          TO MAPPING '$mapName' \
          OPERATOR '$tabName' \
          USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID');
    }If you want to alter reconcile and/or matching strategy, check documentation on OMBRECONCILE in the OWB Scripting Reference.
    Good luck, Patrick

  • How can I load a data in multiple period with a rule files?

    Hi!
    I need to create a rule file the permit me to load a record with multiple period.
    How can I do it?
    Thanks in advance.
    Bye

    As Glenn said, these two types are the typical input files.
    two ways that I can easily think of, but there are more.
    1. Have a row memberwith the period so for sample basic, the row would look lik
    cola,ny,actual,sales,Jan,100
    First case in the rule file you have to map all the member fileds with the dimension name and the data column with the data field.
    2. Have the data for each month as as the column members
    Here is the header followed by a data sample(again for sample basic)
    Product,Market,Scenario,Measure,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
    1oo-10,NY,Actual,Sales,100,100,100,100,100,100,100,010,122,111,222,333
    Second case in the rule file you have to map all the member fileds with the corresponding dimension name and the multiple data columns with the corresponding member names for that dimension.

  • How can we Print Row count in OAf page

    Hi,
    I want to print No rows in adv. table in my page after i click search button in page..
    i wrote code in AM as below..
    B2BLookupTypeVVOImpl vo = getB2BLookupTypeVVO1();
    System.out.println("total no of count"+vo.getRowCount());
    But can i print this no. of records OAF page plz assit me in this
    Thnk
    chinna

    use
    pageContext.writeDiagnostics(this,"total no of count"+vo.getRowCount(), 2);
    to read this line enable the statement level logging .
    right top corner
    Diagnostics--->Show Log on screen-->Statement1
    now u will be able to see the statements .
    enable profile "FND:Diagnostics" to see diagnostics on top right corner.
    Thanks
    Pratap

  • How can I introduce text in a web page with automator?

    I want to create a workflow with automator for httpS web pages in which I have to introduce the user and password. how can I do?

    Try this:
    set the clipboard to item 1 of (get name of (static text of group 104 of UI element 1 of scroll area 1 of group 4 of window "Account Summary" of application process "Safari"))
    (10906)

  • How can I prevent query executing on loading page with POJO dc

    I created with POJO datacontrol with a method return a list of data. I created a taskflow with a page fragment to add the POJO function as a form. I found the method is called every time when the page is being loaded. How can I control it not to be invoked at loading time. Only invoked when I click the button binding to the method. Thanks.

    Hi,
    I created with POJO datacontrol with a method return a list of data. I created a taskflow with a page fragment to add the POJO function as a form. I found the method is called every time when the page is being >loaded. How can I control it not to be invoked at loading time. Only invoked when I click the button binding to the method. Thanks.remove the pojo function added as a form from pageDef file (you can do it manually by rightclick on page -> page defination.
    then click '+' icon on Bindings section -> on insert item dialog box select method binding.
    then select your pojo data control and select the method that you want to add (if it has parameters then leave it blank for now.)
    for executing operation binding(method call) create a button action action listener and add following code
    BindingContext bindingContext = BindingContext.getCurrent();
    BindingContainer bindings = bindingContext.getCurrentBindingsEntry();
    OperationBinding operationBinding = bindings.getOperationBinding("method name");
    operationBinding.getParamsMap().put("param-name", "param-value"); //incase if method has parameters
    // Invoke the method
    operationBinding.execute();Regards,

  • How can I send email from an JSP page  with HTML format either using jsp

    hi,
    I have an jsp page with online application form,after compleating the form if i select submit it will send all the compleated data to the mail id we mentioned in the form tag,for this i am using javascript,but instead of receiving the data in the format of strings,my client want to receive the data in the same format as he's filling in the jsp page(html format) through e-mail.any help would be appreciated.the fallowing is the code right now i am using for email application.
    <code>
    function send()
    if(validatePersonalInfo(document.theform))
         document.theform.submit()
         location.href=location.reload()
    function validatePersonalInfo(form)
         var tmpStr ="";
         if (form.Name.value == "") {
              tmpStr = "Name";
              document.all.dName.style.visibility="visible";
              document.theform.Name.focus();
         else{
              document.all.dName.style.visibility="hidden";
         if (form.SSN.value == "") {
              tmpStr = tmpStr + ", Social Security Number";
         document.all.dSSN.style.visibility="visible";
         if(form.Name.value != "")
              {document.theform.SSN.focus();}
         else{
              document.all.dSSN.style.visibility="hidden";
    if (tmpStr == "") {
              return true;
         } else {
              alert("Please Fill the Following Fields: " + tmpStr);
              return false;
    <FORM NAME="theform" METHOD="post"
    ACTION="mailto:[email protected]?subject=Online Application Form for MinorityDealer." ENCTYPE="text/plain">
    <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="10" NOF="LY">
    <TH>
    <P>
         <FONT SIZE="3" FACE="Arial,Helvetica,Univers,Zurich BT">Online�Application</font></TH><BR>
    </TABLE>
    <table width="718" border="1" cellspacing="0" cellpadding="3" bgcolor="#CCCCFF" align="center">
         <tr>
    <td colspan="2"><font class="captionText">Name*�</font><br><input type="text" size="25" name="Name" class="bodyText">
    <div id="dName" name="dName" style="position:absolute;visibility:hidden"><font color="red">Name is Mandatory*</font></div>
    </td>
              <td colspan="2"><font class="captionText">Social Security Number*�</font><br><input type="text" size="9" name="SSN" class="bodyText">
              <div id="dSSN" name="dSSN" style="position:absolute;visibility:hidden"><font color="red">SSN is Mandatory*</font></div></td>
    </tr>
    <tr>
    <td colspan="2"><font class="captionText">Total Personal Assets</font><br><input type="text" size="10" name="TotPersAss3" class="bodyText"></td>
              <td colspan="2"><font class="captionText">Total Personal Liabilities & NetWorth</font><br><input type="text" size="10" name="TotPerLiab3" class="bodyText"></td>
    </tr>
         </tr>
    </TABLE>
    <IMG Valign="middle" name="imgSubmit" src="images/buttons/Submit.gif" width="66" height="29" border="0" alt="Submit">
    </code>

    Can any one do some help to solve this problem.
    Regards.

  • How can I make a table span multiple pages?

    Hi guys,
    I really hope someone can help me out. First off I am a indesign novice. I have primarily been using indesign scripting to take other user's indesign documents and generating dynamic previews and PDFS with indesign server 2014 (it's pretty cool stuff).
    Someone gave me an indesign document that has a table that starts off in the middle of the page and depending on how many rows they want the table to be it should bump the overflow'ed table rows to the 2nd page.
    In indesign I have tried to link the text frames together. It looks ok in indesign as the linked content shows up on page two.
    Whenever I run the script to generate the preview JPEG the table on page 1 gets cut off and doesn't render anything on page 2.
    Using a script I was able to examine all the textframes on the page and none of the text frames have their "overflows" property set to true.
    What am I doing wrong here? I'm sure there are a million things I'm missing but what are some of the basic things I can look for. I'm totally lost here guys.
    Thanks,
    Dustin

    DustinMichaels1982 wrote:
    Whenever I run the script to generate the preview JPEG…
    I'm not familiar with the script you are talking about, but if you want to make Jpegs of your pages, the best route is to export the document as PDF, and then open in Photoshop, where you can save as Jpeg. If creating Jpegs was not your goal, can you explain further?

  • How can I print comments in the right margin with Ver X?

    First time with this discussion area.  I'm attempting to print messages in the right margin of the page on which they appear.  This was possible in Ver IX.

    I checked my copy of Acrobat 9, and the only way I could find to print comments on the right side of the page was one of the four versions of comment summary.
    You can do the same thing in Acrobat X. On the Comments panel, select the Options menu (circled) and choose Create Comment Summary.
    Then select the 2nd option in the Create Comment Summary dialog:

  • How can I print only 'even' or 'odd' pages in Pages version 5.1?

    Hi,
    Sorry but I was not able to see it in the detailed Print menu. Does anybody know the solution?
    Thanks

    I don't know where they are in Word but the print dialog is standard throughout OSX and this seems logical enough.
    The only problem is the Paper Handling is hidden under Layout. But sort of makes sense.
    Peter

  • How can I print only one or two pages, not the whole article?

    I just want to print one page not the whole article.  There is no provision for what pages to print.

    I don't know where they are in Word but the print dialog is standard throughout OSX and this seems logical enough.
    The only problem is the Paper Handling is hidden under Layout. But sort of makes sense.
    Peter

  • New computer, how can I sync my old published iWeb page with new compuer?

    I had my old macbook stolen a year ago in Italy. I created and published an iWeb page to .mac on that computer. My problem is that I cannot figure out how I can sync my old page on .mac to my new computer so that I can continue to use it and upload pics. Any suggestions? Thanks!

    Hello,
    and welcome the Apple iWeb Discussion Forum.
    Basically you can't figure it out because there is no way to get published pages back into iWeb. iWeb lacks of any html import feature. The only thing you can do is rebuild it by copying and pasting content from the published one to the rebuilt in iWeb. However for photopages that isn't a good idea, it's better to rebuild them from scratch (iPhoto).
    Be sure to make a backup of the domain.sites2 file (where iWeb stores) its files from time to time
    http://alyeska.altervista.org/en/iWebBackupWebsite.html
    Regards,
    Cédric

  • How can I extract images form other web pages with an applet?

    Hello
    I have a problem
    Here is my code
    import java.net.*;
    import javax.swing.*;
    import java.awt.image.*;
    public class Cursbnr extends JApplet{
    public JLabel EuroValue =new JLabel();
         public JLabel DolarValue =new JLabel();
         public JLabel GoldValue =new JLabel();
         JPanel EuroBar = new JPanel();
         JPanel DolarBar = new JPanel();
         JPanel GoldBar = new JPanel();
         Image EuroImg=null;
         Image DolarImg=null;
         Image GoldImg=null;
         try{          
              EuroImg = this.getImage(new URL("http://www.bnro.ro/Images/Flags/eur.gif"));
              DolarImg = this.getImage(new URL("http://www.bnro.ro/Images/Flags/usd.gif"));
              GoldImg = this.getImage(new URL("http://www.bnro.ro/Images/Flags/xau.gif"));
    catch (MalformedURLException e) {
         System.err.println(e);
    When I run this applet whith eclipse it's working, but when I put the class file into a html and I ran the html it's not working
    What can I do?

    Duplicate of this post, reply there: http://forum.java.sun.com/thread.jspa?threadID=670274&messageID=3918814#3918814

Maybe you are looking for

  • I can no longer read DRM protected books

    I have had ADE and Sony Reader for PC for some years without any major problems. Recently I have been having some issues downloading a particular book - the acsm would not download the file. In trying to fix this I seem to have created a far worse pr

  • Itunes will not install on my windows 7 64 bit,

    I have tried for the past week to install itune on my computer with windows 7 64bit, it downloads starts to install then stops and finished without installing. Done anyone have a fix for this?

  • Can't see dual monitor via HDMI on Lenovo U310

    Hi All. I try to connect second monitor (NEC MultiSync EA232WMi) via DisplayPort to my Lenovo U310 HDMI port and it didn't work. The only I can see is a black screen on NEC and nothing more. I tried Fn+F10 to select output mode and standard Windows 7

  • How do I Make Acrobat the default for PDF Files

    I have been using Acrobat 6 in my Mac for quite a few years.  And I would like to have Acrobat open automatically when I open a PDF file but Adobe Reader opens. How do I make Acrobat the default program when opening a PDF file?

  • How to decide MRP controllers

    Hi, My client has five plants. Client manufactures 4 different products. Some raw materials are common for few products. First doubt is I am not able to decide what solution to give on how many MRP controllers should be made? Next, in material master