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 |
|
Osmin Lazo
|
May 16, 2008 - 8:13 AM
|
I have added the style __EGBS_MULTI_AREA_SELECTION to the grid but this does not enable multiple selection when holding down Ctrl key as the CExtGridWnd does. Is there any way to turn this on? Thanks, Osmin.
|
|
Osmin Lazo
|
May 23, 2008 - 12:02 PM
|
|
|
Technical Support
|
May 16, 2008 - 2:11 PM
|
By default, this style is set on in the CExtReportGridWnd control (see the source code of CExtReportGridWnd::_CreateHelper() ). You can simply run the ReportGrid sample without changing any report grid options from the menu so you can see the selection like you need.
|
|
Osmin Lazo
|
May 21, 2008 - 2:23 PM
|
Ok thanks, I had a few unnecessary overlapping styles. I have another one... Is it possible to set a filter (text filter) on one of the columns and have the grid apply this one programmatically? I tried setting the m_strTextFilterEquals member variable of the column but I can not get the grid to apply it by just refreshing the screen.... Thanks in advanced...
|
|
Technical Support
|
May 23, 2008 - 6:37 AM
|
You should invoke the following code to filter out all rows in the report grid again: CExtReportGridWnd & wndReportGrid = . . .
wndReportGrid.OnGridFilterUpdateForRows( 0L, -1L, true, NULL );
wndReportGrid.OnSwUpdateScrollBars();
OnSwInvalidate( true );
|
|