Objective Grid: Printing a range of rows

Article ID: 37
Last updated: 16 Apr, 2018
Article ID: 37
Last updated: 16 Apr, 2018
Revision: 3
Views: 1779
Posted: 11 Jan, 2001
by Meltreger B.
Updated: 16 Apr, 2018
by Meltreger B.

Problem


How do I print a range of rows instead of the entire grid? How can I specify the page breaks?


Cause



Action


You have to select the rows first and then print the range of selected records.

If you do not want this, you need to override the OnBeginPrinting() method, copy the original code to your derived class and modify it in a way such that it meets your needs. The page breaks are stored in the arrays m_awPageFirstRow and m_awPageFirstCol.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 37
Last updated: 16 Apr, 2018
Revision: 3
Views: 1779
Posted: 11 Jan, 2001 by Meltreger B.
Updated: 16 Apr, 2018 by Meltreger B.

Others in this category