columns.render function signature
columns.render function signature
rdennis
Posts: 1Questions: 1Answers: 0
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
This discussion has been closed.
Answers
Thank you! You are absolutely correct.
I've just committed the fix and will deploy it to the site soon.
Regards,
Allan