Version 1
Common Interface IEditingEventArgs GrapeCity DataViewsJS Interface

IEditingEventArgs Interface

Defines arguments of the event that occurs before editing, once editing has started, before editing has ended, or editing has stopped

Heirarchy

  • IEditingEventArgs

Properties

Optional cancel

cancel: boolean

If it is set to true, the current status is canceled. It can be used when status is 'beforeStartEditing' or 'beforeEndEditing'

Optional groupInfo

groupInfo: INodeHitInfo | IGroupAreaPlace[]

Specifies the group information for the data

isNewRow

isNewRow: boolean

Indicates whether editing in new row

Optional newItem

newItem: any

Specifies the new data of the editing row

Optional oldItem

oldItem: any

Specifies the original data of the editing row

Optional row

row: number | number[]

Specifies the editing row index or row indicies if multiple rows being edited

status

Indicates the editing status. The status can be 'beforeStartEditing', 'startEditing', 'beforeEndEditing', 'endEditing' or 'cancelEditing'.

Optional useDecodedItem

useDecodedItem: boolean

If it is set to true, special charactors are decoded. It can be used when status is 'beforeStartEditing'. The default value is true

Optional useEncodedItem

useEncodedItem: boolean

If it is set true, special characters are encoded. It can be used when status is 'beforeEndEditing'. The default value is true