Class SQLWrapperDatasetReferenceRootGrid
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class SQLWrapperDatasetReferenceRootGrid : BaseGridControllerAny<SQLWrapperDatasetReferenceRoot>, IBaseGridController, ICollectionExportable, INewGridItemImplementor<SQLWrapperDatasetReferenceRoot>, ICopyGridItemImplementor<SQLWrapperDatasetReferenceRoot>, IGrid, IDeleteGridItemImplementor<SQLWrapperDatasetReferenceRoot>, ISearchController, IModelViewController
Constructors
SQLWrapperDatasetReferenceRootGrid(IBaseGrid<SQLWrapperDatasetReferenceRoot>)
Declaration
public SQLWrapperDatasetReferenceRootGrid(IBaseGrid<SQLWrapperDatasetReferenceRoot> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseGrid<SQLWrapperDatasetReferenceRoot> | view |
Properties
AllowExcelExport
Indicates the command to allow the grid data to be exported by the user is included in the InitCommands(IList<ViewCommand>)
The default is true
Declaration
public override bool AllowExcelExport { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Methods
Columns()
Provides a list of all the columns to be created against the IBaseGrid<T> by this control
The default behaviour is to enumerate ColumnNames() and create the list automatically. You can also override AlterColumnInfo(ControlDisplayInfo) to provide more detail for specific columns
Alternatively you can override this to explicitly define themDeclaration
public override IEnumerable<ControlDisplayInfo> Columns()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfo> | A list of all the columns to be created against the IBaseGrid<T> by this control |
Overrides
GetGridSourceItems()
A function that must be implemented by inheriting classes that returns the list of items to be displayed against the grid given all active filters, sorting, searches, paging, etc
Declaration
public override Task<IEnumerable<SQLWrapperDatasetReferenceRoot>> GetGridSourceItems()
Returns
Type | Description |
---|---|
Task<IEnumerable<SQLWrapperDatasetReferenceRoot>> | A list of items to be displayed against the grid given all active filters, sorting, searches, paging, etc |