flex - How to Print the custom item renderer images in Advanced Datagrids -
we have developed web application using flex-blazeds-java. got requirement print user existed page whenever clicks on print button. able print flex components , advanced datagrid not able print custom item renderer images rendered in datagrid. , how print multiple pages when have large data in advanced datagrid.
use printadvanceddatagrid printing purposes. use same custom itemrenderer same images appear. printadvanceddatagrid provide functionality pagination.
from adobe documentation:
// queue first page. printjob.addobject(theprintview); // while there more pages, print them. while (theprintview.mydatagrid.validnextpage) { //put next page of data in view. theprintview.mydatagrid.nextpage(); //queue additional page. printjob.addobject(theprintview); }
for more info, check out: http://livedocs.adobe.com/flex/3/html/help.html?content=printing_5.html
Comments
Post a Comment