Skip to main content

AddColumnToDataTable

Stable

Single entry point to add a column to a data table: dispatches internally to the legacy or entity_property path depending on which field of the input is set.

Signature​

mutation {
AddColumnToDataTable(dataTableId: ..., column: ...)
}

Retourne : [DataTableColumn]

Arguments​

NomTypeRequisDéfautDescription
dataTableIdID!✓——
columnDataTableColumnToAddInput!✓——

Exemple​

mutation {
AddColumnToDataTable(
dataTableId: $dataTableId
column: $column
) {
id
technicalCode
label
type
append
displayable
exportable
sortIndex
filterType {}
pinned {}
filterValues {}
}
}