The documentation on Renderers is out of date
The documentation on Renderers is out of date

I think that the documentation on Renderers is out of date. The 4th parameter (meta) which is passed to the function is missing. See https://datatables.net/manual/data/renderers
This discussion has been closed.
Answers
The
columns.render
documentation documents all the parameters. With Javascript you don't need to call a function with all the arguments. So if you aren't using themeta
parameter you don't to define it as a parameter.meta
will beundefined
in the function if you don't define it.Kevin
Thanks for the reply. I realise that parameters don't have to be passed with JS and that the other documentation is correct, I just thought it might be slightly confusing for someone less familiar with the language. I know when I started writing JS I found the 'flexibility' very confusing and therefore documentation that didn't show all of the possible parameters would have led me to try both variations if I was struggling to make something work.