AddColumnToDataTable
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
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
dataTableId | ID! | ✓ | — | — |
column | DataTableColumnToAddInput! | ✓ | — | — |
Exemple
mutation {
AddColumnToDataTable(
dataTableId: $dataTableId
column: $column
) {
id
technicalCode
label
type
append
displayable
exportable
sortIndex
filterType {}
pinned {}
filterValues {}
}
}