Just commiting current state of my work on the 'dataview' (grid), does NOT do anything usefull right now

This commit is contained in:
Andreas Stöckel
2011-08-29 15:04:10 +00:00
parent 6a2d5d8b36
commit 97418ebbbb
8 changed files with 1349 additions and 1 deletions

View File

@@ -0,0 +1,44 @@
/**
* eGroupWare eTemplate2 - Class which contains a factory method for rows
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package etemplate
* @subpackage dataview
* @link http://www.egroupware.org
* @author Andreas Stöckel
* @copyright Stylite 2011
* @version $Id$
*/
"use strict";
/*egw:uses
et2_dataview_interfaces;
*/
var et2_dataview_row = et2_dataview_container.extend({
init: function(_dataProvider, _rowProvider, _idx) {
this._dataProvider = _dataProvider;
this._rowProvider = _rowProvider;
this._idx = _idx;
this._node = null;
this._rowImpl = null;
// Register this row in the dataprovider - if data is available for this
// row the "updateData" function will be called immediately.
this._dataProvider.registerDataRow(_idx, this);
if (this._node == null)
{
}
},
destroy: function() {
this._dataProvider.unregisterDataRow(_idx);
},
updateData: function(_data) {
}
});