Skip to main content
Known Participant
January 30, 2008
Question

Print Datagrid

  • January 30, 2008
  • 4 replies
  • 831 views
Please help. I can not find any resources on how to print a datagrid. I'm new to AS3 and haven't been able to find a solution. If you can point me to a tutorial or reference I'd greatly appreciate it. Thanks.
This topic has been closed for replies.

4 replies

Known Participant
February 6, 2008
Okay .. I have the thing working. Have the scrollbar moving properly etc. NOW my problem is it prints the first page twice and cuts off the last page. Am I missing something here? I am running low on time to figure this out. Thanks for any help.
June 13, 2008
Thanks for supplying this code, I've been looking all over for something like this.
I'm having the same troubles as you, though - it's printing the first page twice. Did you ever find a solution for this?
Participant
July 17, 2008
Thanks for the code, there isnt a lot out there on this. Do you know how to print off images in the datagrid? Your feedback would be very much appreciated. Cheers.
Known Participant
January 30, 2008
I'm not using Flex, but does anyone know if this is related somehow or if there's a similar option for Flash?


PrintDataGrid
Known Participant
February 5, 2008
Okay ... I'm making a little progress on this. I found an AS2 version on another forum and tried to convert it to AS3. It almost works. My only roadblock is that the scrollbar won't move according to pages, but when I trace it the numbers are correct.

Any feedback is appreciated.
Known Participant
January 30, 2008
Thanks .. I did look there, but didn't see anything .. well anything that I would understand to help me do this. I'll keep looking.
Participating Frequently
January 30, 2008
I'm not sure where you could find datagrid tutorials, but i'm sure the flash help is good. Just press F1 in a Flash document to open Help and search for "DataGrid Class". They should have info on its properties and methods and, if you scroll down, there should be plenty of example code. It is not a very difficult object to use so you should be able to learn enough about it there.