Skip to content

Commit

Permalink
Update column.js
Browse files Browse the repository at this point in the history
It will be great to have opportunity to set custom "cellEditTemplate"
  • Loading branch information
Andrey committed Oct 15, 2013
1 parent b0b6141 commit 90ccbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/column.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
self.headerCellTemplate = colDef.headerCellTemplate || $templateCache.get('headerCellTemplate.html');
self.cellTemplate = colDef.cellTemplate || $templateCache.get('cellTemplate.html').replace(CUSTOM_FILTERS, self.cellFilter ? "|" + self.cellFilter : "");
if(self.enableCellEdit) {
self.cellEditTemplate = $templateCache.get('cellEditTemplate.html');
self.cellEditTemplate = colDef.cellEditTemplate || $templateCache.get('cellEditTemplate.html');
self.editableCellTemplate = colDef.editableCellTemplate || $templateCache.get('editableCellTemplate.html');
}
if (colDef.cellTemplate && !TEMPLATE_REGEXP.test(colDef.cellTemplate)) {
Expand Down

0 comments on commit 90ccbff

Please sign in to comment.