Sha256: a8a5b96d82d96245ff7c7c214e24d75d9fc43d0edcabad14226f3e2b8e491030

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

include('../list/render.js');

/**
 * @class
 * @extends uki.view.list.Render
 */
uki.view.table.Render = uki.newClass(uki.view.list.Render, new function() {
    this.init = function(table) {
        this._table = table;
    };
    
    this.render = function(row, rect, i) {
        var table = this._table,
            columns = table.columns();
        return uki.map(columns, function(val, j) {
            return columns[j].render(row, rect, i);
        }).join('');
    };
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uki-1.1.4 frameworks/uki/src/uki-view/view/table/render.js
uki-1.1.3 frameworks/uki/src/uki-view/view/table/render.js
uki-1.1.2 frameworks/uki/src/uki-view/view/table/render.js