Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing 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,
new RGBColor (0x00CCFF),
new RGBColor (0xFFFFFF),
new RGBColor ( 0x0 ),
new RGBColor(0x000000),
1, Joint.MITER);

and adding to pdf

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

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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic