Posted 22 October 2017, 10:01 am EST
Is there any samples showing how we can print flexgrids visible content? I.e. what is filtered? Including what is out of the scrolled window?
Forums Home / ComponentOne / ASP.NET MVC Edition
Posted by: matth on 22 October 2017, 10:01 am EST
Posted 22 October 2017, 10:01 am EST
Is there any samples showing how we can print flexgrids visible content? I.e. what is filtered? Including what is out of the scrolled window?
Posted 22 October 2017, 8:03 pm EST
Hi Matthew,
You can export FlexGrid direct to PDF using PDF export, please refer to the http://demos.componentone.com/ASPNET/MVCExplorer/FlexGrid/PDFExport for the same.
If you would like to show preview or direct print, you need to use PrintDocument class. Please refer to the http://jsfiddle.net/Wijmo5/c75xjs11/?utm_source=website&utm_medium=embed&utm_campaign=c75xjs11 for the same.
~Manish
Posted 23 October 2017, 8:10 am EST
Thank you so much, Manish!
Is there a way to add/remove columns to the table before I render it or append it?
Matt
Posted 23 October 2017, 10:05 pm EST
Hi,
You can add/remove row/column from FlexGrid before render/adding FlexGrid. You can also skip any row or column by customizing renderTable method.
~Manish
Posted 24 October 2017, 7:28 am EST
I have figured this out! Thank you!