v7.3.0

Row

Represents a single rendered row in the grid. Consists of one row element for each SubGrid in use. The grid only creates as many rows as needed to fill the current viewport (and a buffer). As the grid scrolls the rows are repositioned and reused, there is not a one-to-one relation between rows and records.

For normal use cases you should not have to use this class directly. Rely on using renderers instead.

// Access a row via the grid
const row = grid.getRowById(recordId);

// Get the row element for a specific region const element = row.getElement('normal');

// Get all cells in the row const cells = row.cells;

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class

Properties

Properties are getters/setters or publicly accessible variables on this class
  • isRow : Booleantrue
    READONLY
    static
    ADVANCED
    Identifies an object as an instance of Row class, or subclass thereof.

Functions

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

      Sets css top to position elements at correct top position

    • Sync elements height to rows height

    Source path

    Grid/row/Row.js

    Contents