Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 32x 32x 76x 76x | /* global define */
define(['underscore', 'backgrid', 'pim/template/datagrid/cell/expand-history-cell'],
function(_, Backgrid, template) {
'use strict';
/**
* Expand history cell.
*
* @export oro/datagrid/expand-history-cell
* @class oro.datagrid.ExpandCell
* @extends Backgrid.StringCell
*/
return Backgrid.StringCell.extend({
/** @property */
className: 'AknGrid-bodyCell AknGrid-expandable',
template: _.template(template),
/**
* {@inheritdoc}
*/
render: function () {
this.$el.empty().html(this.template({
value: this.model.get(this.column.get('name'))
}));
return this;
}
});
});
|