2013-06-22 06:24:24 +00:00
|
|
|
'use strict';
|
2013-06-24 23:41:59 +00:00
|
|
|
define(
|
|
|
|
[
|
2013-08-20 23:35:19 +00:00
|
|
|
'Cells/TemplatedCell',
|
|
|
|
'Cells/Edit/QualityCellEditor'
|
|
|
|
], function (TemplatedCell, QualityCellEditor) {
|
2013-06-24 23:41:59 +00:00
|
|
|
return TemplatedCell.extend({
|
2013-06-09 20:51:32 +00:00
|
|
|
|
2013-06-24 23:41:59 +00:00
|
|
|
className: 'quality-cell',
|
2013-08-20 23:35:19 +00:00
|
|
|
template : 'Cells/QualityCellTemplate',
|
|
|
|
editor : QualityCellEditor,
|
2013-06-09 20:51:32 +00:00
|
|
|
|
2013-08-20 23:35:19 +00:00
|
|
|
_startEditing: function (model, column, cell, editor) {
|
|
|
|
editor._setOptions({ cell: cell });
|
|
|
|
}
|
2013-06-24 23:41:59 +00:00
|
|
|
});
|
2013-06-09 20:51:32 +00:00
|
|
|
});
|