File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Flex and the fly likes pdf generated with alivePDF sorting columns on it's own. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "pdf generated with alivePDF sorting columns on it Watch "pdf generated with alivePDF sorting columns on it New topic
Author

pdf generated with alivePDF sorting columns on it's own.

aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
I am using alive pdf to generate a pdf.I am passing the data like follows:
var myGrid:Grid = new Grid ( data,
26,
10,
new RGBColor (0x00CCFF),
new RGBColor (0xFFFFFF),
new RGBColor ( 0x0 ),
false,
new RGBColor(0x000000),
1, Joint.MITER);

and adding to pdf

pdf.addGrid( myGrid , -5, 20);
where
var pdf:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );
pdf.setDisplayMode( Display.FULL_PAGE, Layout.SINGLE_PAGE );
pdf.setAutoPageBreak(true,10);

But the pdf being generated is sorting the columns based on their heading's first alphabet. Any way of stopping this autosorting. Any pointers will be appreciated.
Thanks

Aman Thind
SCJP,SCWCD
JAVA utte mar JAVA,mit JAVA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pdf generated with alivePDF sorting columns on it's own.
 
Similar Threads
STRUTS1.1 sorting data in a html table based on the combination of columns
Storing data from a table
Sortinng 'h:tableData
How to perform multi-level sorting in java?
Create Dynamic Datatable with sorting functionality