Forums

Full Version: Exporting whole data grids in pdf as a table format
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
var comp = sdk.getWidget( 'datagrid1' );
comp.m_exporttopdfgrid.exportastable = true; // (if false, it will be exported as image in pdf)
comp.m_exporttopdfgrid.theme = "striped"; // ('striped', 'grid' or 'plain')
comp.m_exporttopdfgrid.orientation = "l"; // ( l for landscape and p for portrait mode )