Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
aman thind
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic