RowColumnChangedEventArgs Class
File
wijmo.grid.sheet.js
Module
wijmo.grid.sheet
Base Class
EventArgs

Provides arguments for rows or columns changed events.

Constructor

Properties

Methods

Events

Constructor

constructor

constructor(index: number, count: number, added: boolean, isCol: boolean): RowColumnChangedEventArgs

Initializes a new instance of the RowColumnChangedEventArgs class.

Parameters
  • index: number

    The start index of the changed rows or columns.

  • count: number

    The added or removed count of the rows or columns.

  • added: boolean

    The value indicates the event is for adding ot removing rows or columns.

  • isCol: boolean

    Determines whether the changes are related to columns or rows.

Returns
RowColumnChangedEventArgs

Properties

added

Gets the value indicates the event is for adding ot removing rows or columns.

Type
boolean

count

Gets the added or removed count of the rows or columns. Returns -1 if an array of CellRange objects containing more than 1 element was used when creating the instance.

Type
number

index

Gets the start index of the changed rows or columns. Returns -1 if an array of CellRange objects containing more than 1 element was used when creating the instance.

Type
number

ranges

Gets an array of CellRange instances that determines the changed rows or columns.

Type
CellRange[]

Methods

constructor

constructor(ranges: CellRange[], added: boolean, isCol: boolean): RowColumnChangedEventArgs

Initializes a new instance of the RowColumnChangedEventArgs class.

Parameters
  • ranges: CellRange[]

    An array of CellRange instances that determines the changed rows or columns.

  • added: boolean

    The value indicates the event is for adding ot removing rows or columns.

  • isCol: boolean

    Determines whether the changes are related to columns or rows.

Returns
RowColumnChangedEventArgs

Events

Static empty

Provides a value to use with events that do not have event data.

Inherited From
EventArgs
Arguments
EventArgs