Objective Grid: Hiding vertical header lines

Article ID: 413
Last updated: 27 Apr, 2018
Article ID: 413
Last updated: 27 Apr, 2018
Revision: 3
Views: 1653
Posted: 09 Jan, 2001
by Meltreger B.
Updated: 27 Apr, 2018
by Meltreger B.

Problem

 


I want to make vertical lines disappear on column headers. Is there a function in Column Header Style that will allow me to do that? Are there any other methods?

 

 


Cause

 


 

 


Action

 


You should call:

ColHeaderStyle().SetControl(GX_IDS_CTRL_STATIC);

If you are using the new grid line mode no extra code is necessary.

Otherwise you'll also need to call:

ColHeaderStyle().SetBorders(gxBorderAll, CGXPen().SetStyle(PS_NULL));

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

Others in this category