mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 12:30:02 +02:00
Just commiting current state of my work on the 'dataview' (grid), does NOT do anything usefull right now
This commit is contained in:
44
etemplate/js/et2_dataview_view_row.js
Normal file
44
etemplate/js/et2_dataview_view_row.js
Normal 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) {
|
||||
}
|
||||
|
||||
});
|
Reference in New Issue
Block a user