FrozenColumn causes grid rendering issue to the right of the frozen column on certain rows

Hi all,

I have a GridGroupingControl with nested tables for a hierarchical structure and a set of frozen columns.

However, at around 70-80% frequency, certain rows are not rendered to the right of the frozen columns.

Image_8073_1738270153669Figure 1. Please observe the TKA0331 and TMK0331 rows have no cells displayed past the first numerical column (the frozen column) 

Resizing the application window a little bit, or performing an action that causes the rows to be off-screen such as collapsing the "Alpine Energy" level or horizontal scrolling will make the row render properly.

Image_1574_1738270272742

Figure 2. After scrolling right from the Figure 1 state, we can see the columns which were previously off the edge of the screen is rendered properly.

Image_9015_1738270355782

Figure 3. After scrolling left from the Figure 2 state. Please observe that the columns which were originally un-rendered in Figure 1, after scrolling under the frozen columns in Figure 2, is now visible.

Grid Setup

The grid DataSource is a DataSet with 4 tables for the 4 hierarchical levels. The layers have relations set up. Each TableDescriptor has the FrozenColumn set to the same column.

Fixes attempted

Disabling frozen column stops this issue from occurring. However we need the frozen column functionality.

I am using an older SyncFusion version of 18.3.0.52 however I have tried updating to 27.1.53.0 and the exact same problem persists.

I have tried .Refresh() the grid at several points of the initialization process and the rendering issue persists.

The frozen column also caused a massive screen tearing problem while scrolling that did not exist when frozen column was disabled. The screen tearing issue was fixed via the configuration ggc.TableControl.EnableDoubleBufferSurface();

Any advice or direction pointers would be appreciated


6 Replies

JW Jiaheng Wang January 30, 2025 09:22 PM UTC

Figure 4. Example of the screen tearing issue mentionedImage_7654_1738272121152



MS Malini Selvarasu Syncfusion Team January 31, 2025 10:57 AM UTC

Hi Jiaheng Wang,

Based on the information provided, we understand that you have encountered a rendering issue when using FrozenColumn for a child table. This occurs because child tables do not support frozen columns.
Since the child table cannot have an independent horizontal scroll position, misalignment between the frozen column in the child table and the parent table can lead to display issues. This limitation is documented in our API documentation. Please refer to the documentation linked below for more details.
If you have any questions, please feel free to reach out. We are happy to assist you.
Regards,
Malini Selvarasu


JW Jiaheng Wang February 2, 2025 08:26 PM UTC

Hi,

Thank you for the reply. I acknowledge that child tables will misalign with the parent table.

Just for clarification, are you saying that this misalignment is what is causing the 2 rows to not render at all as per the three screenshots in my original post and not only the misalignments shown in Figure 4 of my first comment?

Many thanks



RM Rabina Murugan Syncfusion Team February 3, 2025 12:30 PM UTC

Hi Jiaheng Wang,

We would like to clarify that the rendering issue you are experiencing with the FrozenColumn property in child tables is due to a limitation in our control. As we already mentioned , Child tables do not support having a different horizontal scroll position from the parent table. This means that any attempt to freeze columns in the child table can result in  display issues and misalignments.
 
This behavior is a known limitation and is documented in our API reference. For more detailed information, please refer to the following documentation: Class GridTableDescriptor - WindowsForms API Reference | Syncfusion.

If you have any questions, please feel free to reach out. We are happy to assist you.

Regards,
Rabina
 




JW Jiaheng Wang February 3, 2025 08:23 PM UTC

Hi Rabina,

Thank you for your clarification. Can you please confirm explicitly that the display issues you mentioned are the ones observed in the three screenshots of my original post? (Please disregard the misalignment screenshot in the first comment)

Many thanks



RM Rabina Murugan Syncfusion Team February 4, 2025 12:02 PM UTC

Hi Jiaheng Wang,

We confirm that the display issues (as seen in your provided image) are caused when a frozen column is applied to child tables. However, the rendering issues cannot happen consistently as same and it may vary and different rendering issues may arise depends on various factors such as different layouts , screen size, grid settings (including how row sizes are defined), and system performance. These factors can affect rendering behavior. Thank you for your understanding and cooperation.

Regards,
Rabina

Loader.
Up arrow icon