Skip to content

RevoGrid Documentation v4.32.5 / 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:925
typeDimensionTypeRepresents the type of dimension being scrolled. Possible values are 'rgRow' and 'rgCol'.src/types/interfaces.ts:919

Defined in ​

src/types/interfaces.ts:914