Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid headerSpans and print/export to PDF

    We are using SmartClient 8.3 (9-17 build) and noticed that doing a simple print with ListGrid headerSpans doesn't print properly. See attached.

    Here is a simple test case:
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:500, height:350, 
        alternateRecordStyles:true,
        data: countryData,
        fields: [
            {name: "countryName", title: "Country"},
            {name: "capital", title: "Capital"},
            {name: "continent", title: "Continent"}
        ],
        headerHeight: 40,
    		headerSpans: [{
    			fields: ["countryName", "capital", "continent"],
    			title: "Header Span"
    		}]
    });
    
    isc.Button.create({ 
        ID : "buttonPdf",
        width: 150,
        title:"Export",  
        click:function () {
               var settings = {
    	    skinName: "Enterprise", 
    	    pdfName: "export"// without .pdf
    	    };
               isc.RPCManager.exportContent(mainLayout, settings);
            }
    });
    isc.Button.create({ 
        ID : "buttonPreview",
        width: 150,
        title:"Show Print Preview",  
        click:function () {
    	    mainLayout.showPrintPreview();
            }
    });
    isc.VLayout.create({
    	ID: "mainLayout",
    	width: 500,
        height: 350,
        members: [
            countryList,
    		buttonPdf,
    		buttonPreview
        ]
    });

    #2
    You didn't attach your .pdf, but we see no issue with the latest patched build of 8.3.

    Also, we have no record of a recent fixed bug in this area, so not sure how you could have an issue in a 9-17 build.

    Comment


      #3
      Sorry I forgot to attach the snapshot. Attached is a snapshot of the print preview and also a snapshot of the exported PDF (Pdf files are not allowed to be attached in the forums).

      Maybe this issue was fixed in the latest patched 8.3 and 9.0 builds as a result of some other fix.
      Attached Files

      Comment


        #4
        Always possible. Please let us know if you find this isn't fixed in the latest patched build.

        Comment


          #5
          I downloaded the latest 9.0 build and it seems to be fine there.

          Thanks.

          Comment

          Working...
          X