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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -