Interface EditModel

Definition

export interface EditModel

Comments

Object that enables and configures the row editing feature.

Properties

NameOptionalDefinitionComment
editColWidthtruenumber

Specifies a fixed width in pixels for the column that contains the buttons for editing a row. In particular, the min-width and max-width CSS properties will be set.

@defaultValue

undefined - no CSS will be specified

getDeleteCallbacktrue(id: RowId) => () => void

Callback function for deleting rows via the UI. Omit this property or pass undefined to disallow deletions via the UI.

getUpdateCallbackfalseUpdateCallbackGenerator

Function that generates a callback function that responds to a row update. Use this property to specify how row updates affect the state outside the table component.