Objective Grid: Hiding headers

Article ID: 416
Last updated: 27 Apr, 2018
Article ID: 416
Last updated: 27 Apr, 2018
Revision: 3
Views: 1536
Posted: 23 Jan, 2001
by Meltreger B.
Updated: 27 Apr, 2018
by Meltreger B.

Problem

 


What settings should I use so that the grid is drawn completely without headers?

 

 


Cause

 


 

 


Action

 


You can hide headers with:

SetRowHeight(0,0,0);
SetColWidth(0,0,0);
GetParam()->EnableTrackColWidth(FALSE);
GetParam()->EnableTrackRowHeight(FALSE);

then, the user cannot change column widths or row heights.

You should also disable the "Mark col header" and "Mark row header" feature:

GetParam( )->GetProperties( )->SetMarkColHeader(FALSE);
GetParam( )->GetProperties( )->SetMarkRowHeader(FALSE);

This article was:   Helpful | Not helpful
Report an issue
Article ID: 416
Last updated: 27 Apr, 2018
Revision: 3
Views: 1536
Posted: 23 Jan, 2001 by Meltreger B.
Updated: 27 Apr, 2018 by Meltreger B.

Others in this category