CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Remove and export to excel

Print topic Send  topic

Author Message
Ans

Posts: 53
Posted: 06/01/2006, 11:47 PM

I did a previous proj in php using CCS and when I export, I can remove the header/footer/navigator.
 	if (CCGetFromGet("export") == "1") {  
		//Show up to 10,000 records  
	    $recordView->PageSize = 10000;  
	    $recordView->ds->PageSize = 10000;  
		//Hide the Navigator  
	    $recordView->Navigator->Visible = false;  
	}  
		$header->Visible = false;  
		$footer->Visible = false;  

I checked the example codes for java, it does not show the codes to do it. And true to that, when I export the file, the excel file contains the header, footer and navigator.

Anyone knows how to set the visibility for the features to false?
View profile  Send private message
jres
Posted: 06/01/2006, 11:54 PM

to hide Navigator

e.getPage().getGrid("recordView").getChild("Navigator").setVisible(false);

e.getPage().getChild("header").setVisible(false);
Ans

Posts: 53
Posted: 06/02/2006, 12:22 AM

Quote jres:
to hide Navigator

e.getPage().getGrid("recordView").getChild("Navigator").setVisible(false);

e.getPage().getChild("header").setVisible(false);


Thank you very much!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.