* Tile view for filemanager

This commit is contained in:
Nathan Gray
2014-12-31 17:55:06 +00:00
parent eb0a91d3fe
commit 33a0d1154a
14 changed files with 310 additions and 1 deletions

View File

@ -352,7 +352,7 @@ var et2_dataview_controller = Class.extend({
if (!_entry.row)
{
createdRow = true;
_entry.row = new et2_dataview_row(this._grid);
_entry.row = this._createRow(ctx);
_entry.row.setDestroyCallback(this._destroyCallback, ctx);
}
@ -388,6 +388,17 @@ var et2_dataview_controller = Class.extend({
return this.hasData;
},
/**
* Create a new row.
*
* @param {type} ctx
* @returns {et2_dataview_container}
*/
_createRow: function(ctx) {
return new et2_dataview_row(this._grid);
},
/**
* Function which gets called by the grid when data is requested.
*