When trying to create a table using @tanstack/vue-table, I encountered a red error in the Browser console. The error is not critical; however, if I change 'name' to 'id', the error disappears. Since I do not want to display 'id' in my table data, how can I hide or resolve the 'Column with id 'id' does not exist.' error?
Here are my settings as per the official documentation:
const columnHelper = createColumnHelper<any>();
const columns = [
columnHelper.accessor('name', {
header: 'Name'
}),
];