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 » Cell joining not working properly in tree grid Collapse All
Subject Author Date
Offer Har Jul 7, 2008 - 6:54 AM

I create a new node in the tree, get its HTREEITEM and call this line (I have a two columns tree):


 


GridCellJoinSet(CSize(2,1), 0, ItemGetVisibleIndexOf(hti));


What happens is very weird - it seems that the two cells in the row that I joined are being written one on top of the other...


Note that the two cells are of the type CExtGridCellString, the left one has a text value, and the right one is empty, what I wanted was that when the left column becomes narrow, the text will flow to the right column’s cell.


I am using it in one row only (as you can see above: CSize(2,1) )


Please fix.

Technical Support Jul 8, 2008 - 12:35 PM

As we said earlier the grid cell merging is not supported in the tree grid yet. We are working on this feature. Here is the beta test:

test_cell_join_in_tree_grid(beta).zip

Offer Har Jul 8, 2008 - 3:23 PM

The same bug I reported also happens in your beta demo:


Check what happens when you drawg the left side of the column marked as ’Second column’ to the left .


Look what happens in the second and third row - you do not compute the offset of the nodes correctly.


The same happens in 2.83