Skip to content

@revolist/revogrid / ScrollCoordinateEvent

Type Alias: ScrollCoordinateEvent

ts
type ScrollCoordinateEvent: {
  coordinate: number;
  type: DimensionType;
};

Represents the event object that is emitted when scrolling occurs. The type property indicates the type of dimension (row or column) being scrolled. The coordinate property represents the current scroll position in that dimension.

Type declaration

NameTypeDescriptionDefined in
coordinatenumberRepresents the current scroll position in the specified dimension. The value is a number representing the coordinate in pixels.src/types/interfaces.ts:813
typeDimensionTypeRepresents the type of dimension being scrolled. Possible values are 'rgRow' and 'rgCol'.src/types/interfaces.ts:807

Defined in

src/types/interfaces.ts:802

Revogrid is a powerful data grid library made by Revolist OU.