Skip to main content

Allow Inline Editing

On this page you will find how to use inline editing.

To use it, you need to turn on the allow inline editing button.

When this button is enable the following properties will have the following values:

  • Allow Updating: true
  • mode: "cell"
note

By default all the columns appear not editable.

If you want to enable a column put the allowEditing with the value of true

img-box-shadow

img-box-shadow

saveOptions

A function used to save the userfields.

note

For the document's fields, you don't need to use it.

Make sure that the name of the field in the query is the same that appears in the PATCH endpoint.

type

Accepted Values: 'userfield'

{
saveOptions: {
type: "userfield";
}
}

dataType

Indicates the type of data, each data type corresponds to a number.

{
saveOptions: {
type: "userfield",
dataType: 7
}
}

fieldName

To assign the name you want to save the field.

if the name of the field doesn't match with the original name (the that exists in the database).

{
saveOptions: {
type: "userfield",
dataType: 7
fieldName: "ProjectComment"
},
dataField: 'Comment',
dataType: 'string',
allowEditing: true
}

img-box-shadow

img-box-shadow