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