Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

The option "mapped" does not exist. #953

Open
knallcharge opened this issue Jun 29, 2020 · 2 comments
Open

The option "mapped" does not exist. #953

knallcharge opened this issue Jun 29, 2020 · 2 comments

Comments

@knallcharge
Copy link
Contributor

Hi,

even though "mapped" is listed in the documentation as a valid option (https://github.com/stwe/DatatablesBundle/blob/master/Resources/doc/columns.md#1-column), using it will throw an exception "The option "mapped" does not exist.".

I'm using v1.2.1 and couldn't find that this option was added recently - am I missing something?

@Eloar
Copy link
Contributor

Eloar commented Jun 29, 2020

Apperently it was added in documentation with merge of #839. I don't see it implemented so it is clearly an error. If you need to add column that is not mapped from data layer use VirtualColumn.

@knallcharge
Copy link
Contributor Author

knallcharge commented Jun 29, 2020

Thanks for pointing out, solved it with VirtualColumn already, was just wondering if it was me or actually an error :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants