How to use parameter ROW in mRender function

How to use parameter ROW in mRender function

hugomeanahugomeana Posts: 18Questions: 0Answers: 0
edited December 2012 in General
Hello,

I need to use a row parameter for access to second cell for this row. I try this, but it doesn´t works:

[code]
"mRender": function (val, type, row) {

var sReturn = "" + row[1] + "";
return sReturn;
}
[/code]

How to use this parameter?
Thank you!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I'd suggest you add a `console.log( row )` to see what the row is. It is the data source for the row, so it might be an object or an array, depending on what you feed it.
This discussion has been closed.