Renderer keeps giving 'Requested unknown parameter'

Renderer keeps giving 'Requested unknown parameter'

proudgeekproudgeek Posts: 2Questions: 1Answers: 0

Hi all,

I've been trying to use client-side data for Datatables and assign renderers for specific columns. However, as I was trying this, it keeps giving me this error 'Requested unknown parameter <parameter>...' even though that parameter already exists on the data I provided. I'm not sure what I'm missing here. Can you help? Thanks.

JS Bin: http://live.datatables.net/felimeze/1/edit

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,755Questions: 1Answers: 10,509 Site admin
    Answer ✓

    Thanks for the link. You had:

    'render': testRenderer(),

    which was executing the function immediately and returning the result. You want to pass the function as the parameter value - not the functions result!

    Updated example: http://live.datatables.net/vorunome/1/edit .

    Allan

  • proudgeekproudgeek Posts: 2Questions: 1Answers: 0

    facepalm

    Thank you so much! :)

This discussion has been closed.