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. Image for the cookie policy date
close icon

Difference between GridControl and GridControlBase

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

Thankyou
Raghavendra

1 Reply

HA haneefm Syncfusion Team June 26, 2007 06:26 PM UTC

Hi Raghav,

GridControlBase:
>>>>>>>>>>>>>>>
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.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=27553

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon