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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Virtual Data Bound Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

97074 Oct 25,2010 09:25 PM UTC Nov 2,2010 12:34 PM UTC WinForms 1
loading
Tags: GridControl
Max Yaffe
Asked On October 25, 2010 09:25 PM UTC

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


Yuvaraja V [Syncfusion]
Replied On 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


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.

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

;