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.
Unfortunately, activation email could not send to your email. Please try again.

Not visible cell rendering (with DataTemplate)

Thread ID:

Created:

Updated:

Platform:

Replies:

101581 Nov 3,2011 11:50 AM Jan 9,2012 02:07 AM WPF 2
loading
Tags: GridControl
Puthirak OM
Asked On November 3, 2011 11:50 AM


Hi,

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,
visibleLineInfoColumn.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.

Thanks,
P.OM
Reportive



Puthirak OM
Replied On November 3, 2011 11:52 AM

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



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

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.

Thanks,
Rajasekar



CONFIRMATION

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.

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.

;