DataTableView
A named, pre-filtered angle on a data table, shared by the whole environment. Its columns override the table's own configuration.
Champs
| Champ | Type | Description |
|---|---|---|
id | ID! | — |
name | String! | Translated in the requester's locale. |
sortIndex | Int! | The view with the lowest sortIndex is the default one. |
filters | Array | AG Grid filter model keyed by column technical code, applied when the view becomes active. |
dataTableViewColumns | [DataTableViewColumn!] | Every column of the parent table as this view configures it, hidden ones included, ordered by the view's own sortIndex. This is what the configuration modal needs: it has to show the columns the view currently hides so they can be switched back on. Nullable on purpose: a non-admin requester gets a warning and a null here, not a hard error on the whole query. |
dataTableViewColumnsDisplayable | [DataTableViewColumn!]! | Columns this view displays, in its own order. |