Professional UI Solutions
Site Map   /  Register


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 General Discussion » Color only in ReportGrid Collapse All
Subject Author Date
Michael Clapp Jul 20, 2007 - 10:07 AM

We would like to have a read-only color cell in our Report Grid. With the following code, a disabled down arrow button still appears in the cell. Can we remove it?
pCell = m_grid.ReportItemGetCell(pRGC, pRGI, RUNTIME_CLASS(CExtGridCellColor));
((CExtGridCellColor*)pCell)->SetMode((CExtGridCellColor::e_Mode_t) 0);

Technical Support Jul 21, 2007 - 12:04 PM

Any grid cell supports 3 built-in buttons: up-down, drop-down and ellipsis. This is controlled with the following styles:

You can add/remove these styles using CExtGridCell::ModifyStyle().