Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » Report grid, group entry text wrapping Collapse All
Subject Author Date
Andrew Banks May 28, 2007 - 11:41 AM

Hi,
I have a class derived from CExtReportGridWnd.

Report is grouped by one column.

The data in that column is too long for the grid.
The column cell is of type CExtGridCellStringDM.
The column is implemented as:

void AESearch_ReportGrid::AddStringData( CExtReportGridItem * pRGRow, CExtReportGridColumn * pRGColumn, LPSTR stringval )
{
    CExtGridCellStringDM * pCell = (CExtGridCellStringDM*)ReportItemGetCell( pRGColumn, pRGRow, RUNTIME_CLASS(CExtGridCellStringDM) );
    ASSERT_VALID( pCell );
    pCell->ModifyStyle( __EGCS_TEXT_ELLIPSIS );
    pCell->ModifyStyleEx( __EGCS_EX_NO_INPLACE_CONTROL_BORDER | __EGCS_EX_WRAP_TEXT);
    pCell->TextSet( stringval );
}

In addition, I placed several cr/lf in the data to wrap it, but is does not wrap.

Please help.

Technical Support May 31, 2007 - 10:26 AM

We implemented the requested issue. Please download the updated code from our ftp server (we sent you the information via email).

Technical Support May 29, 2007 - 12:57 PM

We confirm this and are working on a solution. We will notify you when it is ready. Thank you.