C# Class Habanero.Faces.Win.ReadOnlyGridWin

Provides a grid on which a business object collection can be listed but not edited. If you would like more functionality, including the ability to add, edit and delete the objects, use IReadOnlyGridControl instead.
Inheritance: GridBaseWin, IReadOnlyGrid
Show file Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
CreateDataSetProvider ( IBusinessObjectCollection col ) : IDataSetProvider

Creates a dataset provider that is applicable to this grid. For example, a readonly grid would return a ReadOnlyDataSetProvider, while an editable grid would return an editable one.

ReadOnlyGridWin ( ) : Habanero.Base

Constructor for ReadOnlyGridWin

Method Details

CreateDataSetProvider() public method

Creates a dataset provider that is applicable to this grid. For example, a readonly grid would return a ReadOnlyDataSetProvider, while an editable grid would return an editable one.
public CreateDataSetProvider ( IBusinessObjectCollection col ) : IDataSetProvider
col IBusinessObjectCollection The collection to create the datasetprovider for
return IDataSetProvider

ReadOnlyGridWin() public method

Constructor for ReadOnlyGridWin
public ReadOnlyGridWin ( ) : Habanero.Base
return Habanero.Base