I've been working on a datagrid printer class based off the example code in this page:
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/ht ml/wwhelp.htm?context=Flex_Documentation <http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/h tml/wwhelp.htm?context=Flex_Documentation&file=00000661.htm> &file=00000661.htm It seems to be working fine but on the third page the vPosition is not getting set to the value I assign it. It won't let me assign it past position 66. //Scroll down each page of rows, then call addPage() once for each page. for (var i=0;i<pages;i++) { myDataGrid.vPosition = i*rowsPerPage; for (var j=rowsPerFirstPage; j < newPos;j++) { datagrid.selectedIndex = j; datagrid.vPosition = j; trace("datagrid.vPosition = " + datagrid.vPosition) } pj.addPage(myDataGrid); } // output datagrid.vPosition = 63 datagrid.vPosition = 64 datagrid.vPosition = 65 datagrid.vPosition = 66 datagrid.vPosition = 66 // setting vPostion does not move it past 66 datagrid.vPosition = 66 datagrid.vPosition = 66 Has anyone had trouble with the vPosition before? TIA, Best Regards, Judah Frangipane _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

