frameworks/uki/src/uki-view/view/table/column.js in uki-1.1.0 vs frameworks/uki/src/uki-view/view/table/column.js in uki-1.1.1
- old
+ new
@@ -55,10 +55,10 @@
});
this.render = function(row, rect, i) {
this._prerenderedTemplate || this._prerenderTemplate(rect);
var value = this._key ? uki.attr(row, this._key) : row[this._position];
- this._prerenderedTemplate[1] = this._formatter ? this._formatter(value, row) : value;
+ this._prerenderedTemplate[1] = this._formatter ? this._formatter(value, row, i) : value;
return this._prerenderedTemplate.join('');
};
this.appendResizer = function(dom, height) {
var resizer = uki.theme.dom('resizer', height);
\ No newline at end of file