Search Results for

    Show / Hide Table of Contents

    Class BaseGridCustomController<T>

    The system controller used for automatically creating a IBaseGrid<T> according to a ICustomGrid definition

    Uses the GridViewControllerCustomViewParams parameter for the view to determine the ICustomGrid to load the defintion of

    Inheritance
    System.Object
    ModelViewController
    BaseGridController
    BaseGridControllerAny<T>
    BaseGridController<T>
    BaseGridCustomController<T>
    Implements
    IBaseGridController
    IModelViewController
    ICollectionExportable
    INewGridItemImplementor<T>
    ICopyGridItemImplementor<T>
    IGrid
    IDeleteGridItemImplementor<T>
    Inherited Members
    BaseGridController<T>.GetGridSourceItems()
    BaseGridController<T>.GetInternalDescriptor()
    BaseGridController<T>.GetCurrentQuery()
    BaseGridController<T>.GetQueryForExcelResults()
    BaseGridController<T>.AllowIDFilter
    BaseGridController<T>.GetCreationQuery()
    BaseGridController<T>.NewItemHelper
    BaseGridController<T>.CopyItemHelper
    BaseGridController<T>.AllowOpenCommand
    BaseGridController<T>.AllowNewCommand
    BaseGridController<T>.AllowCopyCommand
    BaseGridController<T>.AllowDeleteCommand
    BaseGridController<T>.GetOpenGridCommand()
    BaseGridController<T>.GetCopyGridCommand()
    BaseGridController<T>.OnOpenRowItem(T)
    BaseGridController<T>.OpenInSameContext
    BaseGridControllerAny<T>.GetGridController(IBaseGrid<T>)
    BaseGridControllerAny<T>.CollectionType
    BaseGridControllerAny<T>.Descriptor
    BaseGridControllerAny<T>.CanEditRowItem(T)
    BaseGridControllerAny<T>.TrackItemChanges
    BaseGridControllerAny<T>.OnTrackedItemChanged(Object, String)
    BaseGridControllerAny<T>.RowPreviewColumns
    BaseGridControllerAny<T>.BulkUpdateMulltipleSelectedItemsOnEdit
    BaseGridControllerAny<T>.GridView
    BaseGridControllerAny<T>.GetGridSourceItems(IEnumerable<T>)
    BaseGridControllerAny<T>.AlterLoadedItems(IEnumerable<T>)
    BaseGridControllerAny<T>.Clear()
    BaseGridControllerAny<T>.CloseController()
    BaseGridControllerAny<T>.CurrentGridItems
    BaseGridControllerAny<T>.CurrentItems
    BaseGridControllerAny<T>.InitDisplay()
    BaseGridControllerAny<T>.ResetColumnsAndGroups(Boolean)
    BaseGridControllerAny<T>.DisplayUI()
    BaseGridControllerAny<T>.AutoSelectFirstRow
    BaseGridControllerAny<T>.AddCol(Int16, ControlDisplayInfoLight, EntityDescriptor)
    BaseGridControllerAny<T>.ColumnNames()
    BaseGridControllerAny<T>.PivotColumns(Int16)
    BaseGridControllerAny<T>.AddStandardColumns
    BaseGridControllerAny<T>.StandardColumnsUniqueGroupKey
    BaseGridControllerAny<T>.SelectedItemForSubViews
    BaseGridControllerAny<T>.UpdateNewItem(T)
    BaseGridControllerAny<T>.AlterQuery(QueryableExecuter<T>)
    BaseGridControllerAny<T>.ApplyGridSettingsToFilter(QueryableExecuter)
    BaseGridControllerAny<T>.ApplyPaging(QueryableExecuter)
    BaseGridControllerAny<T>.SetTotalCount(Int32)
    BaseGridControllerAny<T>.DefaultRowCount
    BaseGridControllerAny<T>.PagerRequired
    BaseGridControllerAny<T>.CurrentPageIndex
    BaseGridControllerAny<T>.TotalCount
    BaseGridControllerAny<T>.TotalPageCount
    BaseGridControllerAny<T>.Sortings
    BaseGridControllerAny<T>.Filters
    BaseGridControllerAny<T>.SetPageIndex(Int32)
    BaseGridControllerAny<T>.Redisplay()
    BaseGridControllerAny<T>.TrackResults(IEnumerable<T>)
    BaseGridControllerAny<T>.AlterColumnInfo(ControlDisplayInfo)
    BaseGridControllerAny<T>.UpdateColumnFromName(String)
    BaseGridControllerAny<T>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)
    BaseGridControllerAny<T>.TogglerZeroColumn
    BaseGridControllerAny<T>.IsZeroColumnColumnVisible(String)
    BaseGridControllerAny<T>.ToggleZeroColumns()
    BaseGridControllerAny<T>.UpdateAllZeroColumns()
    BaseGridControllerAny<T>.UpdateTransferColumnStatus()
    BaseGridControllerAny<T>.TransferColToggler
    BaseGridControllerAny<T>.CanDelete(T)
    BaseGridControllerAny<T>.CanCreateNew
    BaseGridControllerAny<T>.GetStandardExtraColumns(String)
    BaseGridControllerAny<T>.IDeleteGridItemImplementor<T>.Grid
    BaseGridControllerAny<T>.InitCommands(IList<ViewCommand>)
    BaseGridControllerAny<T>.ExcelExportCommand
    BaseGridControllerAny<T>.GetPublicToggleCommand()
    BaseGridControllerAny<T>.GetNewGridCommand()
    BaseGridControllerAny<T>.GetDeleteCommand()
    BaseGridControllerAny<T>.GetUpCommand()
    BaseGridControllerAny<T>.GetDownCommand()
    BaseGridControllerAny<T>.AllowColumnSelection
    BaseGridControllerAny<T>.AllowPublicToggleCommand
    BaseGridControllerAny<T>.AllowSearchCommand
    BaseGridControllerAny<T>.AllowXMLImportExport
    BaseGridControllerAny<T>.AllowMultipleSelect
    BaseGridControllerAny<T>.AllowExcelExport
    BaseGridControllerAny<T>.AllowSequencing
    BaseGridControllerAny<T>.AutoOpenNewItemInTab
    BaseGridControllerAny<T>.OpenFromRelatedColumnName
    BaseGridControllerAny<T>.PopulateNewFromLookupColumnName
    BaseGridControllerAny<T>.GetLookupIDsForNewItems(Func<IBaseEntity, Task>)
    BaseGridControllerAny<T>.PreventDuplicateLookupIDs
    BaseGridControllerAny<T>.RemoveItems(IEnumerable<T>)
    BaseGridControllerAny<T>.AddItem(T)
    BaseGridController.ComboItemsClear
    BaseGridController.DefaultColumnGroupIndexes
    BaseGridController.DefaultFrozenColumnCount
    BaseGridController.AllPossibleSearchColumns()
    BaseGridController.InternalFilter
    BaseGridController.ColumnSortings
    BaseGridController.ColumnFilters
    BaseGridController.SearchColumns
    BaseGridController.Search
    BaseGridController.SetOrdering(IEnumerable<QueryableSort>)
    BaseGridController.SetFilters(IEnumerable<QueryableFilter>)
    BaseGridController.SetSearch(String, IEnumerable<String>)
    BaseGridController.DefaultSearchColumn
    BaseGridController.BaseGridView
    BaseGridController.GetVisibleColumnNames()
    BaseGridController.OnlyExportGrid
    BaseGridController.OnlyExportFromQuery
    BaseGridController.Created
    BaseGridController.IGrid.GridItems
    ModelViewController.CurrentDisplayedItem
    ModelViewController.CanWrite
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.View
    ModelViewController.InitAsync()
    ModelViewController.DisplayItem(Object)
    ModelViewController.ShouldDisplayItem(Object)
    ModelViewController.DisplayIfNull
    ModelViewController.RemoveHandlers(Object)
    ModelViewController.AddHandlers(Object)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<OFType>()
    ModelViewController.InsertCommand(ViewCommand, Int32)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.Commands
    ModelViewController.UpdateAllCommands()
    ModelViewController.ContextHelpURL
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Views.Core
    Assembly: ClientCore.dll
    Syntax
    public class BaseGridCustomController<T> : BaseGridController<T>, IBaseGridController, IModelViewController, ICollectionExportable, INewGridItemImplementor<T>, ICopyGridItemImplementor<T>, IGrid, IDeleteGridItemImplementor<T> where T : IBaseEntity
    Type Parameters
    Name Description
    T

    The entity type to be displayed and edited by this grid controller

    Constructors

    BaseGridCustomController(IBaseGrid<T>)

    Creates a new system BaseGridCustomController with the specified instance of a default grid view

    Declaration
    public BaseGridCustomController(IBaseGrid<T> view)
    Parameters
    Type Name Description
    IBaseGrid<T> view

    The instance of the default grid view in the client application

    Methods

    ColumnGroups()

    Returns all the groups the columns belong to (if any) as defined in the GroupinName for the LoadAdditionalColumns()

    Declaration
    public override IEnumerable<GridColumnGroup> ColumnGroups()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<GridColumnGroup>

    All the groups the columns belong to (if any) as defined in the GroupinName for the LoadAdditionalColumns()

    Overrides
    BaseGridController.ColumnGroups()

    Columns()

    Returns all the columns loaded from LoadAdditionalColumns()

    Declaration
    public override IEnumerable<ControlDisplayInfo> Columns()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ControlDisplayInfo>

    All the columns loaded from LoadAdditionalColumns() which dynamically represent the definitions in ICustomGridColumn for this ICustomGrid

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<T>.Columns()

    LoadAdditionalColumns()

    Loads all the control definitions as defined by the ICustomGridColumn collection for the ICustomGrid specified in the GridViewControllerCustomViewParams for this view

    Declaration
    protected override Task LoadAdditionalColumns()
    Returns
    Type Description
    System.Threading.Tasks.Task

    All the control definitions as defined by the ICustomGridColumn collection for the ICustomGrid specified in the GridViewControllerCustomViewParams for this view

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<T>.LoadAdditionalColumns()

    Implements

    IBaseGridController
    IModelViewController
    ICollectionExportable
    INewGridItemImplementor<T>
    ICopyGridItemImplementor<T>
    IGrid
    IDeleteGridItemImplementor<T>

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.