head.js revision 0e7d399f99fcb097a927af7e6588f393740585a2
// -- Instance properties -------------------------------------------------
'<th id="{_yuid}" abbr="{abbr}" ' +
'colspan="{colspan}" rowspan="{rowspan}">' +
'<div class="{linerClass}">' +
'{content}' +
'</div>' +
'</th>',
'<tr>{content}</tr>',
'<thead class="{classes}">{content}</thead>',
// -- Public methods ------------------------------------------------------
bindUI: function () {
this._eventHandles.push(
['*:change', '*:destroy'],
this._afterDataChange, this));
},
destructor: function () {
},
initializer: function (config) {
this._eventHandles = [];
},
render: function () {
defaults = {
abbr: '',
colspan: 1,
rowspan: 1,
// TODO: remove dependence on this.host
},
if (!thead) {
thead = '';
html = '';
Y.merge(
col, {
("Column " + j)
}
));
}
}
});
}
}
});
}
if (existing) {
if (replace) {
}
} else {
}
this.bindUI();
return this;
},
// -- Protected and private methods ---------------------------------------
_afterColumnChange: function (e) {
// TODO
},
_afterDataChange: function (e) {
// TODO
}
});