Search Results for

    Show / Hide Table of Contents

    Class ChartsController

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

    Constructors

    ChartsController(IBaseGrid<IChart>)

    Declaration
    public ChartsController(IBaseGrid<IChart> view)
    Parameters
    Type Name Description
    IBaseGrid<IChart> 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.Reporting.IChart>.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 IChart 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.Reporting.IChart>.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<IChart>)

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

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

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

    Returns
    Type Description
    QueryableExecuter<IChart>

    The query to be used to execute results for this grid

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

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

    UpdateNewItem(IChart)

    Provides an inheriting controller an opportunity to alter the newly created item by the grid before it is added to the IBaseGrid<T> itself

    By default this ensures the item has the next maximum sequence number if the item is an entity that has a property with a SequenceStart

    Declaration
    protected override Task UpdateNewItem(IChart item)
    Parameters
    Type Name Description
    IChart item

    The newly created item to be added to the grid

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.Reporting.IChart>.UpdateNewItem(LemonEdge.API.Entities.Reporting.IChart)

    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.