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 » Question about multiple grid cells in one column. Collapse All
Subject Author Date
Anthony Spring Sep 11, 2006 - 12:56 PM

Hello,

I am just curious if it is possible to have two grid cells in one column. Right now I am just manipulating the text to show two different entries but it would look much better if it was possible to have the grid cell split right down the middle and then I could style each cell differently.

Thanks

Technical Support Sep 12, 2006 - 9:08 AM

Joining and splitting cells is currently not supported in Prof-UIS grid windows. The split and join features are very similar to each other and allow you to implement the same split row/column layouts. We do not plan to implement the split cell, but the grid windows already have everything needed for emulating this feature. If you have a grid with 10 rows and 2 columns, then you can join cells in each 9 rows and left two cells in the rest row. The resulted layout looks like the last cell is split. This can be achieved by overriding some grid’s virtual methods that allows you to adjust the cell size. This technique is used for implementing rows for property categories in the property grid control and in group rows of the report grid control. Please download the following ZIP file with two simple projects demonstrating how to emulate this in the plain tree grid window.

Anthony Spring Sep 13, 2006 - 8:09 AM

One thing I have noticed with this implementation is that when scrolling horizontally, after passing the split cell the header cell disappears.

Is there a way to fix this or is it possible to scroll horizontally by two items instead of just one?

Thanks

Technical Support Sep 16, 2006 - 10:53 AM

We are releasing the next major release which is v.2.60 now (you can download the updated help from the download page right away). What do you think if we will add this feature in the next minor release 2.61 (in a two week time)?

Anthony Spring Sep 18, 2006 - 8:14 AM

Sounds good to me