Class TransactionCodeHeaderPropertyVisibilityGridController
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class TransactionCodeHeaderPropertyVisibilityGridController : BaseGridControllerAny<TransactionCodeHeaderProperty>, IBaseGridController, ICollectionExportable, INewGridItemImplementor<TransactionCodeHeaderProperty>, ICopyGridItemImplementor<TransactionCodeHeaderProperty>, IGrid, IDeleteGridItemImplementor<TransactionCodeHeaderProperty>, ISearchController, IModelViewController
Constructors
TransactionCodeHeaderPropertyVisibilityGridController(IBaseGrid<TransactionCodeHeaderProperty>)
Declaration
public TransactionCodeHeaderPropertyVisibilityGridController(IBaseGrid<TransactionCodeHeaderProperty> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseGrid<TransactionCodeHeaderProperty> | view |
Properties
AllowClearSearchSortFilter
Indicates the command to clear all search, sorts and filters on the grid. InitCommands(IList<ViewCommand>)
The default is true
Declaration
public override bool AllowClearSearchSortFilter { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
AllowColumnSelection
Indicates the command to allow columns to be made visibile/hidden by the user is included in the InitCommands(IList<ViewCommand>)
The default is true
Declaration
public override bool AllowColumnSelection { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
AllowCopyCommand
Indicates the command to allow selected rows to be copied by the user is included in the InitCommands(IList<ViewCommand>)
The default is false
Declaration
public override bool AllowCopyCommand { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
AllowDeleteCommand
Indicates the command to allow selected rows to be deleted by the user is included in the InitCommands(IList<ViewCommand>)
The default is false
Declaration
public override bool AllowDeleteCommand { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
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
AllowMultipleSelect
Indicates the command to allow multiple rows to be selected at once in the grid by the user is included in the InitCommands(IList<ViewCommand>)
The default is true
Declaration
public override bool AllowMultipleSelect { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
AllowNewCommand
Indicates the command to allow new items to be created by the user is included in the InitCommands(IList<ViewCommand>)
The default is false if NewItemHelper is equal to null
Declaration
public override bool AllowNewCommand { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
AllowOpenCommand
Indicates the command to allow selected rows to be opened by the user is included in the InitCommands(IList<ViewCommand>)
The default is false
Declaration
public override bool AllowOpenCommand { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
AllowSearchCommand
Indicates the command to allow the default search of text by the user is included in the InitCommands(IList<ViewCommand>)
The default is true
Declaration
public override bool AllowSearchCommand { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
AllowSequencing
Indicates the command to allow selected rows to be moved up/down by the user is included in the InitCommands(IList<ViewCommand>)
The default is true if one of the properties against the type TransactionCodeHeaderProperty is defined as having SequenceStart
Declaration
public override bool AllowSequencing { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
AllowXMLImportExport
Indicates the command to allow the xml export of the data by the user is included in the InitCommands(IList<ViewCommand>)
The default is true if the type TransactionCodeHeaderProperty derives from ISetCopier
Declaration
public override bool AllowXMLImportExport { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
AutoOpenNewItemInTab
Indicates when creating a new item in the grid that it should automatically be opened in a new tab as well
The default is true if the type TransactionCodeHeaderProperty is an entity that is not a IsStandingDataEntity
Declaration
public override bool AutoOpenNewItemInTab { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
CanUserSelect
Indicates whether user can select rows
The default is true
Declaration
public override bool CanUserSelect { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
ShowCheckboxForMultiSelect
The flag for checkbox display to multiselect grid items
Declaration
protected override bool ShowCheckboxForMultiSelect { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
ShowFrozenColumnsSplitter
Indicates whether the frozen columns splitter is shown
The default is true
Declaration
public override bool ShowFrozenColumnsSplitter { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
ShowGrouping
Indicates whether grouping area is shown above grid (and grouping is therefore enabled)
The default is true
Declaration
public override bool ShowGrouping { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
ShowVerticalGridLines
Indicates whether vertical grid lines are shown
The default is true
Declaration
public override bool ShowVerticalGridLines { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Methods
CanEditRowItem(TransactionCodeHeaderProperty)
Indicates if the user is permitted to edit the specified row item from the state of the item itself
Declaration
public override bool CanEditRowItem(TransactionCodeHeaderProperty row)
Parameters
Type | Name | Description |
---|---|---|
TransactionCodeHeaderProperty | row |
Returns
Type | Description |
---|---|
bool | True if the user is permitted to edit the specified row item from the state of the item itself |
Overrides
ColumnNames()
A list of all the columns to be dynamically created in the IBaseGrid<T>
This is used by the system to create the actual ControlDisplayInfo classes required from the Columns() property
You can override this to provide a simple definition of each column (combined with AlterControlInfo(ControlDisplayInfo) for more detail), or you can just override Columns() and ignore thisDeclaration
protected override IEnumerable<ControlDisplayInfoLight> ColumnNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | A list of all the columns to be dynamically created in the IBaseGrid<T> |
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<TransactionCodeHeaderProperty>> GetGridSourceItems()
Returns
Type | Description |
---|---|
Task<IEnumerable<TransactionCodeHeaderProperty>> | A list of items to be displayed against the grid given all active filters, sorting, searches, paging, etc |