Virtual Data Bound Grid

I apologize if this has been asked.

Is there any way to get a Virtual Data Bound Grid. I don't see the virtual functionality in Data Bound Grid class reference.

Thanks,
Max


1 Reply

YV Yuvaraja V Syncfusion Team November 2, 2010 12:34 PM UTC

Hi Max,

Thanks for your interest in Syncfusion Products.

In DataBoundDataGrid Virtual Grid is achieved through the "QueryCellInfo" event with the following code,

this.gridDataBoundGrid1.Model.QueryCellInfo += new Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventHandler(Model_QueryCellInfo);


void Model_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e)
{
GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
if (e.RowIndex == 2)
{
e.Style.BackColor = Color.Red;
}
else
{
e.Style.BackColor = Color.White;
}
}
Here is the Link for the VirtualDataGrid Sample,
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=gridbounddatatable-1247365990.zip


Loader.
Up arrow icon