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

    Show / Hide Table of Contents

    Class DxGridScrolling

    Scrolling allows a user to browse data left outside the current viewport. The widget provides several scrolling modes detailed in the mode option description.

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

    Properties

    columnRenderingMode

    Specifies the rendering mode for columns. Applies when columns are left outside the viewport. Requires the columnWidth, columnAutoWidth, or width (for all columns) option specified.

    Declaration
    public DxGridScrolling.ColumnRenderingMode? columnRenderingMode { get; set; }
    Property Value
    Type Description
    System.Nullable<DxGridScrolling.ColumnRenderingMode>

    minTimeout

    Declaration
    public int? minTimeout { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    mode

    Specifies the scrolling mode.

    Declaration
    public DxGridScrolling.ScrollingMode? mode { get; set; }
    Property Value
    Type Description
    System.Nullable<DxGridScrolling.ScrollingMode>
    Remarks

    Regardless of the scrolling mode, you can use the paging.pageSize option to specify the number of rows on a page.

    preloadEnabled

    Specifies whether the widget should load adjacent pages. Applies only if scrolling.mode is "virtual" or "infinite".

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

    In virtual and infinite scrolling modes, pages are loaded on demand. If you set this option to true, the adjacent pages are loaded in advance for smoother scrolling. This option can reduce the performance on older devices.

    removeInvisiblePages

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

    renderingThreshold

    Declaration
    public int? renderingThreshold { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    rowPageSize

    Declaration
    public int? rowPageSize { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    rowRenderingMode

    Specifies the rendering mode for loaded rows.

    Declaration
    public DxGridScrolling.RowRenderingMode? rowRenderingMode { get; set; }
    Property Value
    Type Description
    System.Nullable<DxGridScrolling.RowRenderingMode>

    scrollByContent

    Specifies whether a user can scroll the content with a swipe gesture. Applies only if useNative is false.

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

    scrollByThumb

    Specifies whether a user can scroll the content with the scrollbar. Applies only if useNative is false.

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

    showScrollbar

    Specifies when to show scrollbars. Applies only if useNative is false.

    Declaration
    public DxGridScrolling.ShowScrollbarMode? showScrollbar { get; set; }
    Property Value
    Type Description
    System.Nullable<DxGridScrolling.ShowScrollbarMode>
    Remarks

    The scrollbars help to scroll the content vertically and horizontally. Vertical scrolling is available when all the rows do not fit in the widget's height. Horizontal scrolling is available when all the columns do not fit in the widget's width, which can happen when columns have fixed widths or the columnAutoWidth option is set to true.

    timeout

    Declaration
    public int? timeout { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    updateTimeout

    Declaration
    public int? updateTimeout { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    useNative

    Specifies whether the widget should use native or simulated scrolling.

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

    By default, the widget employs native scrolling on most platforms, except non-Mac desktops and devices based on Android older than version 4. To employ native scrolling on all platforms without exception, assign true to this option. If you assign false, the widget simulates scrolling on all platforms.By default, the widget employs native scrolling on most platforms, except non-Mac desktops and devices based on Android older than version 4. To employ native scrolling on all platforms without exception, assign true to this option. If you assign false, the widget simulates scrolling on all platforms.

    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.