Printing selected rows

I'm having problems printing selected rows from a GridControl. It works fine if the selected rows are adjacent to each other. The problem is when I make multiple selections such as row 1 and 5. In this case, the entire grid gets printed.

3 Replies

CC Claudina Castro June 2, 2009 01:21 PM UTC

Does anybody in syncfusion know how to print just the selected rows(non-adjacents) ? I'm using a GridControl.

Thanks for your help.


LS Lingaraj S Syncfusion Team June 3, 2009 07:35 AM UTC

Hi Claudina,

Thank you for your interest in Syncfusion product.

If you want to print the multiple selected range in GridControl, then please try using PrintingMode property in QueryRowHeight event to achieve this behavior. In GridControl the PrintMode property set to true, when the GridControl has been moved to printing mode.

Please refer the sample in below location:
http://files.syncfusion.com/support/samples/Grid.Windows/Forums/PrintGrid/main.htm

This sample demonstrate the print the multiple selected ranges in GridControl.

Let me know if it helps.

Regards,
Lingaraj S.


CC Claudina Castro June 8, 2009 01:23 PM UTC

Thank you Lingaraj,
I'll take a look at your sample and let you know if it helps.

Claudina


Loader.
Up arrow icon