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.

Difference between GridControl and GridControlBase

Thread ID:





62946 Jun 26,2007 01:23 AM Jun 26,2007 02:26 PM Windows Forms 1
Tags: GridControl
Asked On June 26, 2007 01:23 AM

Please tell me the difference between GridControl and GridControlBase with example.


haneefm [Syncfusion]
Replied On June 26, 2007 02:26 PM

Hi Raghav,

GridControlBase implements a view on a GridModel. Several views can be opened for the same model. Changes in GridModel are reflected immediately among all views. The GridModel provides storage for all data and settings associated with the grid. GridControlBase implements user interaction and display of the data.

GridControlBase is a user control that is derived from ScrollControl. It lets the user scrolls through grid data with mouse or keyboard. The grid displays a large number of cells where each cell can have its own unique formatting and cell type. It also offers a wide range of events that let you customize the default behavior of the grid at run-time.

GridControl :
GridControl provides a simplified way to use a grid control and model in one place. It implements methods from GridControlBase and also implements all methods and events that are defined in GridModel. It hides the implementation details that the underlying functionality is implemented in a separate model and view class and provides a one-stop interface to perform all grid operations in one place.

GridControl also adds support for customizing the grid in a visual designer and lets you drop the grid control in a Windows Forms dialog at design-time. The GridModel can be attached and replaced with another object at run-time. The GridControl class will remove any dependencies on the old model and set up a relationship with the new model.

See the forum thread for more details.

Best regards,


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.