To Whom It May Concern,
We are using a gridModel definiton as:
const usersGridModel = reactive({
...gridPreset,
dataSource: new DataManager({
...dataManagerPreset(),
url: "/api/users",
} as DataOptions),
columns: [
{
field: "name",
headerText: "Name",
} as ColumnModel,
{
field: "surname",
headerText: "Surname",
} as ColumnModel,
...
],
}
"name" and "surname" fields are coming from an API as it is.
What we want is to show "name" and "surname" inside one column with one headerText, for an example "Full Name".
(We know that we could merge them in API side, but wanted to make a frontend solution here.)
Thanks in advance!
Is there a way to do this?