This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
 
subject: pdf generated with alivePDF sorting columns on it's own.
 
Similar Threads
Sortinng 'h:tableData
Storing data from a table
Create Dynamic Datatable with sorting functionality
How to perform multi-level sorting in java?
STRUTS1.1 sorting data in a html table based on the combination of columns