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 Tech Support » Grid bug when trying to merge top cells of frozen column Collapse All
Subject Author Date
Offer Har Nov 23, 2011 - 4:49 AM

Dear Support,

I have a grid with two header rows.

I add a merge to the two left-most cells like this:

    GridCellGetOuterAtTop(0, 0, RUNTIME_CLASS(CExtGridCellHeader));
    GridCellGetOuterAtTop(0, 1, RUNTIME_CLASS(CExtGridCellHeader));
    GridCellJoinSet(CSize(1,2), 0, 0, 0, -1);

This works fine. However, when I try to make the first column frozen, by adding this line:

    FrozenColumnCountLeftSet(1, false);

There is a bug - the joined cells suddenly have a line drawn in them like that are not joined anymore, but the text id drawn as they are joined... It seems that the draw of the background forgot that the cells are joined, but the draw of the text did not forget...

Please send us a patch to fix this problem.



Technical Support Nov 28, 2011 - 1:45 PM

We tried to reproduce this issue. We did everything like you described and we invoked the GridCellJoinSet(CSize(1,2), 0, 0, 0, -1); code. But we cannot repeat the problem. Please help us to reproduce it. Here is the project:

Offer Har Nov 30, 2011 - 12:32 AM

Dear Support,

This is different from what I wrote - I don’t freeze column at top - I use two header columns at top.

Please update your application and you will see the bug.



Technical Support Dec 6, 2011 - 12:48 PM

We updated the sample project for you. There are no bugs with cell joins.