We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Not visible cell rendering (with DataTemplate)

Thread ID:





101581 Nov 3,2011 03:50 PM UTC Jan 9,2012 07:07 AM UTC WPF 2
Tags: GridControl
Puthirak OM
Asked On November 3, 2011 03:50 PM UTC


I'm using a GridControl in virtual mode.
So only the visible cells are rendered and shown.

With a normal cell (for example, a static cell) that is NOT visible, I can call the method
GetRenderStyleInfo and use it to render the cell. For example:

GridRenderStyleInfo renderStyleInfo = myGrid.GetRenderStyleInfo(visibleLineInfoRow.LineIndex,
RenderCellArgs renderCellArgs = new RenderCellArgs(myGrid, visibleLineInfoRow,
visibleLineInfoColumn, rect, renderStyleInfo);
IGridCellRenderer gridCellRenderer = myGrid.CellRenderers["Static"];
gridCellRenderer.Render(aDrawingContext, renderCellArgs);

But this method does not work if my cell is using a DataTemplate.

Is there a way to force the rendering of a cell (using a DataTemplate) that is NOT visible ?

In fact, I need to get the visual of the cell.


Puthirak OM
Replied On November 3, 2011 03:52 PM UTC

Forgot to tell you the version of Syncfusion I'm using.
It's the version

Rajasekar [Syncfusion]
Replied On January 9, 2012 07:07 AM UTC

Hi Puthirak,

Sorry for the inconvenience, At present we don’t have virtualization support for DataTemplated cell, so here you can’t force the DataTemplated cells to render.

Please let us know if you have any queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon