Does resetvolatiledata repaint the entiregrid or just the effected cells.

Does resetvolatiledata repaint the entiregrid or just the effected cells.

2 Replies

TT Tito Toro March 25, 2010 10:14 PM UTC

In the trader grid refresh sample, there is a function

if (drawDirectToDC)
{
Rectangle bounds = m_syncGrid.RangeInfoToRectangle(g1);
if (!bounds.IsEmpty)
{

is this just passing over the specific cell to be repainted?

Thanks


JJ Jisha Joy Syncfusion Team March 26, 2010 10:15 AM UTC

Hi Tito,

You could use InvalidateRange method of GridControl if you want to refresh a specified range.

this.gridControl1.InvalidateRange(GridRangeInfo.Row(rowIndex));

Regards,
Jisha

Loader.
Up arrow icon