Search Results for

    Show / Hide Table of Contents

    Class AddInModulesController

    Inheritance
    object
    ModelViewController
    BaseGridController
    BaseGridControllerAny<IAddInModule>
    BaseGridController<IAddInModule>
    AddInModulesController
    Implements
    IBaseGridController
    ICollectionExportable
    INewGridItemImplementor<IAddInModule>
    ICopyGridItemImplementor<IAddInModule>
    IGrid
    IDeleteGridItemImplementor<IAddInModule>
    ISearchController
    IModelViewController
    Inherited Members
    BaseGridController<IAddInModule>.LoadExtendedItem(Type, object)
    BaseGridController<IAddInModule>.GetGridSourceItems()
    BaseGridController<IAddInModule>.LoadExtendedData(IEnumerable<IAddInModule>)
    BaseGridController<IAddInModule>.ConvertParameterItemsFilterToItems(IEnumerable<IBaseEntity>)
    BaseGridController<IAddInModule>.GetInternalDescriptor()
    BaseGridController<IAddInModule>.GetCurrentQuery()
    BaseGridController<IAddInModule>.GetQueryForExcelResults()
    BaseGridController<IAddInModule>.GetCreationQuery()
    BaseGridController<IAddInModule>.AddParameterIDFilterToQuery(QueryableExecuter<IAddInModule>, IEnumerable<Guid>)
    BaseGridController<IAddInModule>.AddParameterFilterToQuery(QueryableExecuter<IAddInModule>, QueryableFilter)
    BaseGridController<IAddInModule>.GetOpenGridCommand()
    BaseGridController<IAddInModule>.GetCopyGridCommand()
    BaseGridController<IAddInModule>.OnOpenRowItem(IAddInModule)
    BaseGridController<IAddInModule>.ProcessCustomCommandResult(object)
    BaseGridController<IAddInModule>.AllowIDFilter
    BaseGridController<IAddInModule>.NewItemHelper
    BaseGridController<IAddInModule>.CopyItemHelper
    BaseGridController<IAddInModule>.AllowNewCommand
    BaseGridController<IAddInModule>.AllowCopyCommand
    BaseGridController<IAddInModule>.AllowDeleteCommand
    BaseGridController<IAddInModule>.OpenInSameContext
    BaseGridController<IAddInModule>.HasGlobalFilter
    BaseGridControllerAny<IAddInModule>.CanDelete(IAddInModule)
    BaseGridControllerAny<IAddInModule>.Clear()
    BaseGridControllerAny<IAddInModule>.CloseController()
    BaseGridControllerAny<IAddInModule>.Redisplay()
    BaseGridControllerAny<IAddInModule>.GetGridController(IBaseGrid<IAddInModule>)
    BaseGridControllerAny<IAddInModule>.CanEditRowItem(IAddInModule)
    BaseGridControllerAny<IAddInModule>.CanEditRowItem(IAddInModule, short)
    BaseGridControllerAny<IAddInModule>.OnTrackedItemChanged(object, string)
    BaseGridControllerAny<IAddInModule>.GetGridSourceItems(IEnumerable<IAddInModule>, QueryableExecuterApplyType)
    BaseGridControllerAny<IAddInModule>.AlterLoadedItems(IEnumerable<IAddInModule>)
    BaseGridControllerAny<IAddInModule>.InitDisplay()
    BaseGridControllerAny<IAddInModule>.ResetColumnsAndGroups(bool)
    BaseGridControllerAny<IAddInModule>.DisplayUI()
    BaseGridControllerAny<IAddInModule>.GetItemToReselect(object)
    BaseGridControllerAny<IAddInModule>.LoadAdditionalColumns()
    BaseGridControllerAny<IAddInModule>.Columns()
    BaseGridControllerAny<IAddInModule>.AddCol(short, ControlDisplayInfoLight, EntityDescriptor)
    BaseGridControllerAny<IAddInModule>.PivotColumns(short)
    BaseGridControllerAny<IAddInModule>.UpdateNewItem(IAddInModule)
    BaseGridControllerAny<IAddInModule>.ApplyGridSettingsToFilter(QueryableExecuter)
    BaseGridControllerAny<IAddInModule>.ApplyPaging(QueryableExecuter)
    BaseGridControllerAny<IAddInModule>.SetTotalCount(int)
    BaseGridControllerAny<IAddInModule>.SetPageIndex(int)
    BaseGridControllerAny<IAddInModule>.TrackResults(IEnumerable<IAddInModule>)
    BaseGridControllerAny<IAddInModule>.AlterColumnInfo(ControlDisplayInfo)
    BaseGridControllerAny<IAddInModule>.UpdateColumnFromName(string)
    BaseGridControllerAny<IAddInModule>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)
    BaseGridControllerAny<IAddInModule>.IsZeroColumnColumnVisible(string)
    BaseGridControllerAny<IAddInModule>.ToggleZeroColumns()
    BaseGridControllerAny<IAddInModule>.UpdateAllZeroColumns()
    BaseGridControllerAny<IAddInModule>.UpdateTransferColumnStatus()
    BaseGridControllerAny<IAddInModule>.OnSelectedItemsChanged(IEnumerable<IAddInModule>)
    BaseGridControllerAny<IAddInModule>.GetStandardExtraColumns(string)
    BaseGridControllerAny<IAddInModule>.ReApply()
    BaseGridControllerAny<IAddInModule>.GetPublicToggleCommand()
    BaseGridControllerAny<IAddInModule>.GetNewGridCommand()
    BaseGridControllerAny<IAddInModule>.GetDeleteCommand()
    BaseGridControllerAny<IAddInModule>.DeleteCommandIsQuickAccess()
    BaseGridControllerAny<IAddInModule>.GetUpCommand()
    BaseGridControllerAny<IAddInModule>.GetDownCommand()
    BaseGridControllerAny<IAddInModule>.MoveItemSequence(object, object)
    BaseGridControllerAny<IAddInModule>.GetLookupIDsForNewItems(Func<IBaseEntity, Task>)
    BaseGridControllerAny<IAddInModule>.RemoveItems(IEnumerable<IAddInModule>)
    BaseGridControllerAny<IAddInModule>.AddItem(IAddInModule)
    BaseGridControllerAny<IAddInModule>.ToggleSearch(bool)
    BaseGridControllerAny<IAddInModule>.CollectionType
    BaseGridControllerAny<IAddInModule>.Descriptor
    BaseGridControllerAny<IAddInModule>.ListenToChanges
    BaseGridControllerAny<IAddInModule>.RowPreviewColumns
    BaseGridControllerAny<IAddInModule>.GridView
    BaseGridControllerAny<IAddInModule>.CurrentGridItems
    BaseGridControllerAny<IAddInModule>.CurrentItems
    BaseGridControllerAny<IAddInModule>.AutoSelectFirstRow
    BaseGridControllerAny<IAddInModule>.AddStandardColumns
    BaseGridControllerAny<IAddInModule>.StandardColumnsUniqueGroupKey
    BaseGridControllerAny<IAddInModule>.DefaultRowCount
    BaseGridControllerAny<IAddInModule>.DefaultOrOverridenRowCount
    BaseGridControllerAny<IAddInModule>.UserOverridenPagingAmount
    BaseGridControllerAny<IAddInModule>.PagerRequired
    BaseGridControllerAny<IAddInModule>.TotalCount
    BaseGridControllerAny<IAddInModule>.LimitPagesToTotal
    BaseGridControllerAny<IAddInModule>.TotalPageCount
    BaseGridControllerAny<IAddInModule>.Sortings
    BaseGridControllerAny<IAddInModule>.Filters
    BaseGridControllerAny<IAddInModule>.ShowCheckboxForMultiSelect
    BaseGridControllerAny<IAddInModule>.TogglerZeroColumn
    BaseGridControllerAny<IAddInModule>.TransferColToggler
    BaseGridControllerAny<IAddInModule>.ItemRowColorProperty
    BaseGridControllerAny<IAddInModule>.CanCreateNew
    BaseGridControllerAny<IAddInModule>.SelectedItemForSubViews
    BaseGridControllerAny<IAddInModule>.ItemCellDisableCell
    BaseGridControllerAny<IAddInModule>.UpdateSubViewsWhenMultipleRowSelectionChanges
    BaseGridControllerAny<IAddInModule>.ExcelExportCommand
    BaseGridControllerAny<IAddInModule>.AllowColumnSelection
    BaseGridControllerAny<IAddInModule>.AllowPublicToggleCommand
    BaseGridControllerAny<IAddInModule>.AllowSearchCommand
    BaseGridControllerAny<IAddInModule>.AllowPageSizeCommand
    BaseGridControllerAny<IAddInModule>.AllowClearSearchSortFilter
    BaseGridControllerAny<IAddInModule>.ShowGrouping
    BaseGridControllerAny<IAddInModule>.ShowFrozenColumnsSplitter
    BaseGridControllerAny<IAddInModule>.ShowVerticalGridLines
    BaseGridControllerAny<IAddInModule>.CanUserSelect
    BaseGridControllerAny<IAddInModule>.AllowXMLImportExport
    BaseGridControllerAny<IAddInModule>.AllowMultipleSelect
    BaseGridControllerAny<IAddInModule>.AllowExcelExport
    BaseGridControllerAny<IAddInModule>.AllowSequencing
    BaseGridControllerAny<IAddInModule>.OpenFromRelatedColumnName
    BaseGridControllerAny<IAddInModule>.PopulateNewFromLookupColumnName
    BaseGridControllerAny<IAddInModule>.PreventDuplicateLookupIDs
    BaseGridControllerAny<IAddInModule>.PopulateNewFromLookupRelationship
    BaseGridControllerAny<IAddInModule>.SearchGroups
    BaseGridControllerAny<IAddInModule>.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 AddInModulesController : BaseGridController<IAddInModule>, IBaseGridController, ICollectionExportable, INewGridItemImplementor<IAddInModule>, ICopyGridItemImplementor<IAddInModule>, IGrid, IDeleteGridItemImplementor<IAddInModule>, ISearchController, IModelViewController

    Constructors

    AddInModulesController(IBaseGrid<IAddInModule>)

    Declaration
    public AddInModulesController(IBaseGrid<IAddInModule> view)
    Parameters
    Type Name Description
    IBaseGrid<IAddInModule> 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.IAddInModule>.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 IAddInModule 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.IAddInModule>.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<IAddInModule>)

    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 IAddInModule is an entity with a property with a SequenceStart, in which case it is ordered by that

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

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

    Returns
    Type Description
    QueryableExecuter<IAddInModule>

    The query to be used to execute results for this grid

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

    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.IAddInModule>.ColumnNames()

    InitCommands(IList<ViewCommand>)

    Adds the following commands, if the associated AllowXXXCommand property returns true: A public toggle, multi-select row, open, column visiblitiy, transfer visible, search, view cancelled, view system, export, new, copy, move up/down, xml export, and delete commands

    Declaration
    protected override void InitCommands(IList<ViewCommand> commands)
    Parameters
    Type Name Description
    IList<ViewCommand> commands

    The initial set of commands for this view

    Overrides
    BaseGridControllerAny<IAddInModule>.InitCommands(IList<ViewCommand>)

    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.