Search results

EditSettings

Configures the edit behavior of the TreeGrid.

Properties

allowAdding

boolean

If allowAdding is set to true, new records can be added to the TreeGrid.

Defaults to false

allowDeleting

boolean

If allowDeleting is set to true, existing record can be deleted from the TreeGrid.

Defaults to false

allowEditOnDblClick

boolean

If allowEditOnDblClick is set to false, TreeGrid will not allow editing of a record on double click.

Defaults to true

allowEditing

boolean

If allowEditing is set to true, values can be updated in the existing record.

Defaults to false

dialog

IDialogUI

Defines the dialog params to edit.

Defaults to {}

mode

string

Defines the mode to edit. The available editing modes are:

  • Cell
  • Row
  • Dialog
  • Batch

Defaults to Cell

newRowPosition

string

Defines the row position for new records. The available row positions are:

  • Top
  • Bottom
  • Above
  • Below
  • Child

Defaults to Top

showConfirmDialog

boolean

if showConfirmDialog is set to false, confirm dialog does not show when batch changes are saved or discarded.

Defaults to true

showDeleteConfirmDialog

boolean

If showDeleteConfirmDialog is set to true, confirm dialog will show delete action. You can also cancel delete command.

Defaults to false

template

string

Defines the custom edit elements for the dialog template.

Defaults to