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 |
|
Hans Peter Miedeck
|
Jan 12, 2007 - 1:51 AM
|
hello, i want to deactivate one row in my Grid to runtime. Is this possible?
Thank you for this great foru.
|
|
Suhai Gyorgy
|
Jan 12, 2007 - 3:31 AM
|
If you want to hide one row then you can set its height to 0 by setting the extent of the outer left cell to 0. CExtGridCellHeader * pCell = STATIC_DOWNCAST( CExtGridCellHeader,
GridCellGetOuterAtLeft( nRowNo, 0L, RUNTIME_CLASS(CExtGridCellHeader) )
);
pCell->ExtentSet( 0, 0 ); // set current height
pCell->ExtentSet( 0, 1 ); // set maximum height
If you are using CExtReportGridWnd and you would like to filter your rows, then you will have to wait some more: Support’s post from Jan 11, 2006 "Filters for the CExtReportGridWnd class are in the TO-DO list"
|
|