Grid Lines
 
Grid Line Drawing
Objective Grid provides two different ways for drawing grid lines. The new grid line drawing mode enables you to give the grid a more professional look. This new drawing mode lets you easily switch between solid, dotted, and dashed grid lines and allows you to remove the borders between the column and row headers.
If you want to use the new drawing mode as the default for all grids in your application, you should call GXSetNewGridLineMode() in the InitInstance() method of your application. If you want to use the new drawing mode only for individual grids, call GetParam()->SetGridLineStyle() during initialization for the grid.
 
BOOL CGridSampleApp::InitInstance()
{
...
 
// Initialize the grid library and resources
GXInit();
 
// Use smarter grid lines (and dotted)
GXSetNewGridLineMode(TRUE);
 
...
}
or:
 
BOOL CMyGridView::OnInitialUpdate()
{
...
 
// Use smarter grid lines (and dotted)
GetParam()->SetGridLineStyle();
 
...
}
Check out the description of CGXGridParam::SetNewGridLineMode in the Objective Grid Class Reference for a sophisticated discussion about this topic.