columns.render function signature

columns.render function signature

rdennisrdennis Posts: 1Questions: 1Answers: 0
edited April 2015 in Free community support

The signature for columns.render does not seem to be correct. The current signature is listed as:
data node, type node, row node, meta object.

Should it not be:
data object, type string, row object, meta object?

To clarify, the documentation specifies:

render: function(data: Node, type: Node, row: Node, meta: any) {
}

In practice the signature is:

render: function(data: any, type: string, row: Object, meta: any) {
}

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin
    Answer ✓

    Thank you! You are absolutely correct.

    I've just committed the fix and will deploy it to the site soon.

    Regards,
    Allan

This discussion has been closed.