Dear all,
In the ("BCGSuite for MFC") example "Examples\BCGPGridExample\ReportGridCtrl" we have the code snippet to "hide" a column
int CReportGridCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct)
...
SetColumnVisible (4, FALSE);
SetColumnVisible (5, FALSE);
...
I would like to use it in a derived *CBCGPGridCtrl* control where i also use the InsertGroupColumn call, like in the example ColorGridCtrl. The motivation is that i have already the text of the column in the group text. But i fail to hide the column.
Also in the example isn't working:
int CColorGridCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
...
InsertColumn (nColumn, strColumn, 80);
}
SetColumnVisible (1, FALSE);
//-----------------------
// Group by first column:
//-----------------------
InsertGroupColumn (0, 0);
...
Did someone experienced a same issue?
Is it technical possible to hide a column (for example the grouping column) and use at the same time the grouping?
Thanks in advance, best regards,
Nico