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 General Discussion » grid and rowspan, colspan Collapse All
Subject Author Date
Jan Palka Aug 22, 2004 - 5:48 PM

Hello,


  does the Grid from the library support rowspan and colspan of its cells?  If not is there a way or hint how to implement it ?  


Thanks.


Jan


 

Technical Support Aug 24, 2004 - 1:16 PM

Dear Jan,

So far the grid control does not support any kind of column/row joining at all. Of course, we will add this feature later. Any cell in the grid is an instance of CExtGridCell-derived class and is managed by the grid data provider component, which is based on CExtGridDataProvider-derived class. The CExtGridDataProviderMemory class implements the data provider component that keeps all the cells in memory. We think that the cell joining may be completely implemented in the CExtGridCell class if you inform the cell object whether it is joined by neighborhood cells or whether it is covered by other cells. This technique will let you to improve the painting and mouse/keyboard processing code in the CExtGridCell class for implementing this feature. This work is not simple because the grid control’s source code contains thousands of lines. We recommend you to wait until we implement this feature for you.