Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Eric
|
Mar 28, 2011 - 9:04 AM
|
Hi, I would like to know if it is be possible to keep a Header Cell selected as soon as a cell of its column has the focus in a ReportGrid? I would like something like implemented in the tab ’Products (highlighting)’ of the ’SimpleGrid’ project. I have tried to add the ’__EGBS_EX_FI_HIGHLIGHT_COLUMNS | __EGBS_EX_FO_HIGHLIGHT_COLUMNS’ extended style but I didn’t succeed to keep my header cell selected. Regards, Cedric.
|
|
Technical Support
|
Mar 29, 2011 - 8:37 AM
|
The CExtReportGridWnd control always supports the focused report row and optionally supports focused columns. This is demonstrated in the ReportGrid sample application. But all the group rows are completely re-created during re-sorting. So, it’s possible to restore the focused report row only if it is a data row (a row without child rows). If you focus some data row in the ReportGrid sample application, then it’s still focused after re-sorting. This also works if you choose <b>Use Column Based Focus<b> mode from a menu.
|
|