C# Class Habanero.Faces.VWG.ReadOnlyGridVWG

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: GridBaseVWG, IReadOnlyGrid
Datei anzeigen Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
CheckUserWantsToDelete ( ) : bool

Displays a message box to the user to check if they want to proceed with deleting the selected rows.

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.

ReadOnlyGridVWG ( ) : System

Constructs the ReadOnlyGridVWG

Method Details

CheckUserWantsToDelete() public method

Displays a message box to the user to check if they want to proceed with deleting the selected rows.
public CheckUserWantsToDelete ( ) : bool
return bool

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

ReadOnlyGridVWG() public method

Constructs the ReadOnlyGridVWG
public ReadOnlyGridVWG ( ) : System
return System