Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class DxGridSummaryGroupItem

    Inheritance
    System.Object
    DxGridSummaryGroupItem
    Namespace: Emby.Web.GenericEdit.Elements.DxGrid
    Assembly: Emby.Web.GenericEdit.dll
    Syntax
    public class DxGridSummaryGroupItem

    Properties

    alignByColumn

    Indicates whether to display group summary items in parentheses after the group row header or to align them by the corresponding columns within the group row.

    Declaration
    public bool? alignByColumn { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    column

    Specifies the column that provides data for a group summary item.

    Declaration
    public string column { get; set; }
    Property Value
    Type Description
    System.String

    displayFormat

    Specifies the summary item's text.

    Declaration
    public string displayFormat { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    You can use the following position markers in this text:

    {0} - formatted summary value. {1} - the parent column's caption. Available if the showInColumn option is specified.

    name

    Specifies the group summary item's identifier.

    Declaration
    public string name { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Use this name to access the summary item in callback functions like calculateCustomSummary.

    showInColumn

    Specifies the column that must hold the summary item when this item is displayed in the group footer or aligned by a column in the group row.

    Declaration
    public bool? showInColumn { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    Remarks

    A group summary item can be forced to be displayed in the group row by the column that provides data for this item. Alternatively, you can place an item to the group footer where the item is also held by the column that provides data for it. If you need to place an item in another column, assign the name, data field or caption of this column to the showInColumn option.

    showInGroupFooter

    pecifies whether or not a summary item must be displayed in the group footer.

    Declaration
    public bool? showInGroupFooter { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    Remarks

    By default, summary items are displayed as a part of a group row. If you need a summary item to be displayed in the group footer, assign true to the showInGroupFooter option of this item. This summary item will be located in the column that provides data for it. If you want another column to hold the summary item, specify the showInColumn option of this item.

    skipEmptyValues

    Specifies whether or not to skip empty strings, null and undefined values when calculating a summary.

    Declaration
    public bool? skipEmptyValues { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    Remarks

    Specified in a summary configuration object, this option affects an individual summary item. If you need to apply a single setting to all summaries in a grid, specify the skipEmptyValues option in the summary object.

    summaryType

    Specifies how to aggregate data for the group summary item.

    Declaration
    public DxGridSummaryGroupItem.SummaryType? summaryType { get; set; }
    Property Value
    Type Description
    System.Nullable<DxGridSummaryGroupItem.SummaryType>
    Remarks

    Use the SummaryType enum to specify this option when the widget is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: Sum, Min, Max, Avg, Count, and Custom. To apply a custom server-side aggregate function, use a string overload instead.

    valueFormat

    Specifies a summary item value's display format.

    Declaration
    public string valueFormat { get; set; }
    Property Value
    Type Description
    System.String

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.