Search Results for

    Show / Hide Table of Contents

    Class CustomViewsController

    Inheritance
    object
    ModelViewController
    BaseGridController
    BaseGridControllerAny<ICustomView>
    BaseGridController<ICustomView>
    CustomViewsController
    Implements
    IBaseGridController
    ICollectionExportable
    INewGridItemImplementor<ICustomView>
    ICopyGridItemImplementor<ICustomView>
    IGrid
    IDeleteGridItemImplementor<ICustomView>
    ISearchController
    IModelViewController
    Inherited Members
    BaseGridController<ICustomView>.LoadExtendedItem(Type, object)
    BaseGridController<ICustomView>.GetGridSourceItems()
    BaseGridController<ICustomView>.LoadExtendedData(IEnumerable<ICustomView>)
    BaseGridController<ICustomView>.ConvertParameterItemsFilterToItems(IEnumerable<IBaseEntity>)
    BaseGridController<ICustomView>.GetInternalDescriptor()
    BaseGridController<ICustomView>.GetCurrentQuery()
    BaseGridController<ICustomView>.GetQueryForExcelResults()
    BaseGridController<ICustomView>.GetCreationQuery()
    BaseGridController<ICustomView>.AddParameterIDFilterToQuery(QueryableExecuter<ICustomView>, IEnumerable<Guid>)
    BaseGridController<ICustomView>.AddParameterFilterToQuery(QueryableExecuter<ICustomView>, QueryableFilter)
    BaseGridController<ICustomView>.GetOpenGridCommand()
    BaseGridController<ICustomView>.GetCopyGridCommand()
    BaseGridController<ICustomView>.OnOpenRowItem(ICustomView)
    BaseGridController<ICustomView>.ProcessCustomCommandResult(object)
    BaseGridController<ICustomView>.AllowIDFilter
    BaseGridController<ICustomView>.NewItemHelper
    BaseGridController<ICustomView>.CopyItemHelper
    BaseGridController<ICustomView>.AllowNewCommand
    BaseGridController<ICustomView>.AllowCopyCommand
    BaseGridController<ICustomView>.AllowDeleteCommand
    BaseGridController<ICustomView>.OpenInSameContext
    BaseGridController<ICustomView>.HasGlobalFilter
    BaseGridControllerAny<ICustomView>.CanDelete(ICustomView)
    BaseGridControllerAny<ICustomView>.Clear()
    BaseGridControllerAny<ICustomView>.CloseController()
    BaseGridControllerAny<ICustomView>.Redisplay()
    BaseGridControllerAny<ICustomView>.GetGridController(IBaseGrid<ICustomView>)
    BaseGridControllerAny<ICustomView>.CanEditRowItem(ICustomView)
    BaseGridControllerAny<ICustomView>.CanEditRowItem(ICustomView, short)
    BaseGridControllerAny<ICustomView>.OnTrackedItemChanged(object, string)
    BaseGridControllerAny<ICustomView>.GetGridSourceItems(IEnumerable<ICustomView>, QueryableExecuterApplyType)
    BaseGridControllerAny<ICustomView>.AlterLoadedItems(IEnumerable<ICustomView>)
    BaseGridControllerAny<ICustomView>.InitDisplay()
    BaseGridControllerAny<ICustomView>.ResetColumnsAndGroups(bool)
    BaseGridControllerAny<ICustomView>.DisplayUI()
    BaseGridControllerAny<ICustomView>.GetItemToReselect(object)
    BaseGridControllerAny<ICustomView>.LoadAdditionalColumns()
    BaseGridControllerAny<ICustomView>.Columns()
    BaseGridControllerAny<ICustomView>.AddCol(short, ControlDisplayInfoLight, EntityDescriptor)
    BaseGridControllerAny<ICustomView>.PivotColumns(short)
    BaseGridControllerAny<ICustomView>.UpdateNewItem(ICustomView)
    BaseGridControllerAny<ICustomView>.ApplyGridSettingsToFilter(QueryableExecuter)
    BaseGridControllerAny<ICustomView>.ApplyPaging(QueryableExecuter)
    BaseGridControllerAny<ICustomView>.SetTotalCount(int)
    BaseGridControllerAny<ICustomView>.SetPageIndex(int)
    BaseGridControllerAny<ICustomView>.TrackResults(IEnumerable<ICustomView>)
    BaseGridControllerAny<ICustomView>.AlterColumnInfo(ControlDisplayInfo)
    BaseGridControllerAny<ICustomView>.UpdateColumnFromName(string)
    BaseGridControllerAny<ICustomView>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)
    BaseGridControllerAny<ICustomView>.IsZeroColumnColumnVisible(string)
    BaseGridControllerAny<ICustomView>.ToggleZeroColumns()
    BaseGridControllerAny<ICustomView>.UpdateAllZeroColumns()
    BaseGridControllerAny<ICustomView>.UpdateTransferColumnStatus()
    BaseGridControllerAny<ICustomView>.OnSelectedItemsChanged(IEnumerable<ICustomView>)
    BaseGridControllerAny<ICustomView>.GetStandardExtraColumns(string)
    BaseGridControllerAny<ICustomView>.ReApply()
    BaseGridControllerAny<ICustomView>.InitCommands(IList<ViewCommand>)
    BaseGridControllerAny<ICustomView>.GetPublicToggleCommand()
    BaseGridControllerAny<ICustomView>.GetNewGridCommand()
    BaseGridControllerAny<ICustomView>.GetDeleteCommand()
    BaseGridControllerAny<ICustomView>.DeleteCommandIsQuickAccess()
    BaseGridControllerAny<ICustomView>.GetUpCommand()
    BaseGridControllerAny<ICustomView>.GetDownCommand()
    BaseGridControllerAny<ICustomView>.MoveItemSequence(object, object)
    BaseGridControllerAny<ICustomView>.GetLookupIDsForNewItems(Func<IBaseEntity, Task>)
    BaseGridControllerAny<ICustomView>.RemoveItems(IEnumerable<ICustomView>)
    BaseGridControllerAny<ICustomView>.AddItem(ICustomView)
    BaseGridControllerAny<ICustomView>.ToggleSearch(bool)
    BaseGridControllerAny<ICustomView>.CollectionType
    BaseGridControllerAny<ICustomView>.Descriptor
    BaseGridControllerAny<ICustomView>.ListenToChanges
    BaseGridControllerAny<ICustomView>.RowPreviewColumns
    BaseGridControllerAny<ICustomView>.GridView
    BaseGridControllerAny<ICustomView>.CurrentGridItems
    BaseGridControllerAny<ICustomView>.CurrentItems
    BaseGridControllerAny<ICustomView>.AutoSelectFirstRow
    BaseGridControllerAny<ICustomView>.AddStandardColumns
    BaseGridControllerAny<ICustomView>.StandardColumnsUniqueGroupKey
    BaseGridControllerAny<ICustomView>.DefaultRowCount
    BaseGridControllerAny<ICustomView>.DefaultOrOverridenRowCount
    BaseGridControllerAny<ICustomView>.UserOverridenPagingAmount
    BaseGridControllerAny<ICustomView>.PagerRequired
    BaseGridControllerAny<ICustomView>.TotalCount
    BaseGridControllerAny<ICustomView>.LimitPagesToTotal
    BaseGridControllerAny<ICustomView>.TotalPageCount
    BaseGridControllerAny<ICustomView>.Sortings
    BaseGridControllerAny<ICustomView>.Filters
    BaseGridControllerAny<ICustomView>.ShowCheckboxForMultiSelect
    BaseGridControllerAny<ICustomView>.TogglerZeroColumn
    BaseGridControllerAny<ICustomView>.TransferColToggler
    BaseGridControllerAny<ICustomView>.ItemRowColorProperty
    BaseGridControllerAny<ICustomView>.CanCreateNew
    BaseGridControllerAny<ICustomView>.SelectedItemForSubViews
    BaseGridControllerAny<ICustomView>.ItemCellDisableCell
    BaseGridControllerAny<ICustomView>.UpdateSubViewsWhenMultipleRowSelectionChanges
    BaseGridControllerAny<ICustomView>.ExcelExportCommand
    BaseGridControllerAny<ICustomView>.AllowColumnSelection
    BaseGridControllerAny<ICustomView>.AllowPublicToggleCommand
    BaseGridControllerAny<ICustomView>.AllowSearchCommand
    BaseGridControllerAny<ICustomView>.AllowPageSizeCommand
    BaseGridControllerAny<ICustomView>.AllowClearSearchSortFilter
    BaseGridControllerAny<ICustomView>.ShowGrouping
    BaseGridControllerAny<ICustomView>.ShowFrozenColumnsSplitter
    BaseGridControllerAny<ICustomView>.ShowVerticalGridLines
    BaseGridControllerAny<ICustomView>.CanUserSelect
    BaseGridControllerAny<ICustomView>.AllowXMLImportExport
    BaseGridControllerAny<ICustomView>.AllowMultipleSelect
    BaseGridControllerAny<ICustomView>.AllowExcelExport
    BaseGridControllerAny<ICustomView>.AllowSequencing
    BaseGridControllerAny<ICustomView>.OpenFromRelatedColumnName
    BaseGridControllerAny<ICustomView>.PopulateNewFromLookupColumnName
    BaseGridControllerAny<ICustomView>.PreventDuplicateLookupIDs
    BaseGridControllerAny<ICustomView>.PopulateNewFromLookupRelationship
    BaseGridControllerAny<ICustomView>.SearchGroups
    BaseGridControllerAny<ICustomView>.SearchElements
    BaseGridController.ClearSearchSortFilter()
    BaseGridController.InitAsync()
    BaseGridController.AddCustomCommand(ICustomCommand)
    BaseGridController.ColumnGroups()
    BaseGridController.GetVisibleColumnNames()
    BaseGridController.AllPossibleSearchColumns()
    BaseGridController.SetOrdering(IEnumerable<QueryableSort>)
    BaseGridController.SetFilters(IEnumerable<QueryableFilter>)
    BaseGridController.SetSearch(string, IEnumerable<string>)
    BaseGridController.SetCreated(bool)
    BaseGridController.BulkUpdateMultipleSelectedItemsOnEdit
    BaseGridController.ComboItemsClear
    BaseGridController.DefaultColumnGroupIndexes
    BaseGridController.ExpandDefaultGroups
    BaseGridController.DefaultFrozenColumnCount
    BaseGridController.SearchColumns
    BaseGridController.Search
    BaseGridController.BaseGridView
    BaseGridController.Created
    BaseGridController.InternalFilter
    BaseGridController.IsSelected
    BaseGridController.ColumnSortings
    BaseGridController.ColumnFilters
    BaseGridController.CustomCommandParam
    BaseGridController.OnlyExportGrid
    BaseGridController.OnlyExportFromQuery
    BaseGridController.LoadPager
    BaseGridController.LoadOrOverridenPager
    BaseGridController.UserOverridenPagingVisible
    BaseGridController.CurrentPageIndex
    ModelViewController.DisplayItem(object)
    ModelViewController.GetCurrentDisplayedItem(object)
    ModelViewController.GetCanWrite(object)
    ModelViewController.ShouldDisplayItem(object)
    ModelViewController.RemoveHandlers(object)
    ModelViewController.AddHandlers(object)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<TOfType>()
    ModelViewController.InsertCommand(ViewCommand, int)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.UpdateAllCommands()
    ModelViewController.GetNestedViews()
    ModelViewController.RootController
    ModelViewController.ServiceContext
    ModelViewController.UIContext
    ModelViewController.CanWrite
    ModelViewController.TrackChanges
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.DisplayIfNull
    ModelViewController.CurrentDisplayedItem
    ModelViewController.View
    ModelViewController.Commands
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Controllers
    Assembly: LemonEdge.ClientEntities.dll
    Syntax
    public class CustomViewsController : BaseGridController<ICustomView>, IBaseGridController, ICollectionExportable, INewGridItemImplementor<ICustomView>, ICopyGridItemImplementor<ICustomView>, IGrid, IDeleteGridItemImplementor<ICustomView>, ISearchController, IModelViewController

    Constructors

    CustomViewsController(IBaseGrid<ICustomView>)

    Declaration
    public CustomViewsController(IBaseGrid<ICustomView> view)
    Parameters
    Type Name Description
    IBaseGrid<ICustomView> view

    Properties

    AllowOpenCommand

    Indicates that by default selected entities can be opened by the user with the open command

    Declaration
    public override bool AllowOpenCommand { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridController<LemonEdge.API.Entities.Design.ICustomView>.AllowOpenCommand

    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 ICustomView is an entity that is not a IsStandingDataEntity

    Declaration
    public override bool AutoOpenNewItemInTab { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.Design.ICustomView>.AutoOpenNewItemInTab

    ContextHelpURL

    An optional associated url of a help file for the view this controller works with

    Declaration
    public override string ContextHelpURL { get; }
    Property Value
    Type Description
    string
    Overrides
    ModelViewController.ContextHelpURL

    DefaultSearchColumn

    The name of the column to use in the default search of text in the grid

    Declaration
    protected override string DefaultSearchColumn { get; }
    Property Value
    Type Description
    string
    Overrides
    BaseGridController.DefaultSearchColumn

    Methods

    AlterQuery(QueryableExecuter<ICustomView>)

    Provides the inheriting controller an opportunity to modify the query used to load the data for this IBaseGrid<T>

    Default implementation does nothing unless the type ICustomView is an entity with a property with a SequenceStart, in which case it is ordered by that

    Declaration
    protected override QueryableExecuter<ICustomView> AlterQuery(QueryableExecuter<ICustomView> query)
    Parameters
    Type Name Description
    QueryableExecuter<ICustomView> query

    The query for this grid to always be altered before being executed

    Returns
    Type Description
    QueryableExecuter<ICustomView>

    The query to be used to execute results for this grid

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.Design.ICustomView>.AlterQuery(LemonEdge.Utils.QueryableExecuter<LemonEdge.API.Entities.Design.ICustomView>)

    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 this
    Declaration
    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
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.Design.ICustomView>.ColumnNames()

    Implements

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

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.