C# 클래스 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.
상속: GridBaseVWG, IReadOnlyGrid
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

CheckUserWantsToDelete() 공개 메소드

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

CreateDataSetProvider() 공개 메소드

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
리턴 IDataSetProvider

ReadOnlyGridVWG() 공개 메소드

Constructs the ReadOnlyGridVWG
public ReadOnlyGridVWG ( ) : System
리턴 System