Search Results for

    Show / Hide Table of Contents

    Interface IExportQuery

    A custom popup window for filtering all the data of a query before executing and downloading the results

    Controlled by the ExportQueryController and ExportQueryResult parameters

    Inherited Members
    IPopupWindow<ExportQueryResult>.InitController(IPopupWindowController<ExportQueryResult>)
    IWindow.CloseWindow()
    IWindow.ShowDialog()
    IWindow.Show()
    IWindow.SetOwner(IWindow)
    IWindow.Controller
    Namespace: LemonEdge.Client.Core.Support
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface IExportQuery : IPopupWindow<ExportQueryResult>, IWindow

    Methods

    Init(IModelLayoutCommon, EntityDescriptor, string, IEnumerable<GridColumnGroup>, IEnumerable<ControlDisplayVisibilityInfo>, bool, DateTimeOffset?, bool, Guid?, bool, QueryableExecuter)

    Initializes the popup window with the current filters for the result set, allowing the user to fully customize them

    Declaration
    Task Init(IModelLayoutCommon host, EntityDescriptor descriptor, string header, IEnumerable<GridColumnGroup> columnGroups, IEnumerable<ControlDisplayVisibilityInfo> columns, bool allowColumnFilter, DateTimeOffset? asOfDate, bool allowAsOf, Guid? canvasID, bool includeTotal, QueryableExecuter filter)
    Parameters
    Type Name Description
    IModelLayoutCommon host

    The host of this popup window

    EntityDescriptor descriptor

    The entity type (if any) having its data exported

    string header

    The title/header for this popup window

    IEnumerable<GridColumnGroup> columnGroups

    A list of all groups the columns belong to. Used for heirarchical display only

    IEnumerable<ControlDisplayVisibilityInfo> columns

    A list of all the columns currently included in the result set

    bool allowColumnFilter

    Indicates the user can filter the columns to be included

    DateTimeOffset? asOfDate

    An optional date that will be used to run the entire query as of some point of time in the past

    bool allowAsOf

    Indicates if the user is allowed to select an as of date for running the query as

    Guid? canvasID

    The current canvas id the query should run in

    bool includeTotal

    Indicates if the query should execute including the total first and then all the data (can take longer but provides better progress information)

    QueryableExecuter filter

    The current filter to be applied when executing the data to retrieve all results

    Returns
    Type Description
    Task

    A task indicating the sucessful completion of the user selecting the data in the popup window

    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.