v7.3.0

FillHandle
Feature

This feature adds a fill handle to a Grid range selection, which when dragged, fills the cells being dragged over with values based on the values in the original selected range. This is similar to functionality normally seen in various spreadsheet applications.

Requires selectionMode.cell to be activated.

This feature is disabled by default

const grid = new Grid({
    features : {
        fillHandle : true
    }
});

This feature will not work properly when Store uses lazyLoad

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • Set to true to enable the fill range to crop the original selected range. This clears the cells which were a part of the original selected range, but are no longer a part of the smaller range.

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class
    • abort( )

      Aborts an ongoing FillHandle drag operation

    • handleSelection( )
      internal

      Checks selection and sees to it that fill handle and border is drawn. Runs on next animation frame

    Events

    Events are triggered for certain actions in this class and can be listened for to react to those actions in your code
    • Fired when a FillHandle drag operation is aborted.

      Note that this event is triggered on the owning widget:

    Event handlers

    Event handlers are callbacks called as a result of certain actions in this class
    • Called when a FillHandle drag operation is aborted.

      Note that this handler is called on the owning widget:

    CSS variables

    CSS variables that can be set to adjust appearance
    Name Description
    --b-fill-handle-handle-size Size of the fill handle
    id: fillHandle

    Source path

    Grid/feature/FillHandle.js

    Contents