Objective Grid: Preventing headers from being hidden by splitter panes

Article ID: 182
Last updated: 04 Jun, 2018
Article ID: 182
Last updated: 04 Jun, 2018
Revision: 3
Views: 1744
Posted: 23 Jan, 2001
by Meltreger B.
Updated: 04 Jun, 2018
by Meltreger B.

Problem


How can I avoid headers being hidden in the bottom/right splitter pane?


Cause



Action


Normally, when splitting a view it would look ugly if row or column headers are displayed twice. However, if you would like to display row and column headers even in the second pane, you need to override IsRowHidden( ) and IsColHidden( ):

BOOL myView::IsRowHidden(...)
{
return CGXGridCore::IsRowHidden(...)
// note: it is important to call CGXGridCore not CGXGridView
}

IsColHidden( ) should be overridden in the same manner.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 182
Last updated: 04 Jun, 2018
Revision: 3
Views: 1744
Posted: 23 Jan, 2001 by Meltreger B.
Updated: 04 Jun, 2018 by Meltreger B.

Others in this category