Hello,
I have a group feature like this
features: {
group: {
field: 'group.id',
renderer: ({ record, isFirstColumn }) => {
const groupName = record.groupChildren[0]?.group.name;
return isFirstColumn ? `${groupName} (${record.groupChildren.length - 1})` : '';
}
}
}
So the records are grouped based on the field group (e.g. {name: "Test", id: "test"}).
Now I want to be able to update a resource's group so that it's placed under another group (e.g. {name: Foo, id: "foo"}. How do I best update the resource's group?
Thanks