DatatablesBundle icon indicating copy to clipboard operation
DatatablesBundle copied to clipboard

The option "mapped" does not exist.

Open knallcharge opened this issue 4 years ago • 2 comments

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?

knallcharge avatar Jun 29 '20 05:06 knallcharge

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.

Eloar avatar Jun 29 '20 10:06 Eloar

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

knallcharge avatar Jun 29 '20 11:06 knallcharge