Commit 11a8f22c authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Added extra callback param (just incase there's global information wanted)

parent 59b19bf4
......@@ -51,7 +51,7 @@ function TableRenderer(target, source, columns, options) {
appendChildNodes(tr, TD(null,row[column]));
}
else if ( typeof(column) == 'function' ) {
appendChildNodes(tr, column(row));
appendChildNodes(tr, column(row,data));
}
else {
logError("Can't deal with column def of type: " + typeof(column));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment