Fix the boolean editor, and warn the user if there are unsaved changed in the edit grid before refreshing.

This commit is contained in:
Murtuza Zabuawala
2016-09-01 11:50:48 +01:00
committed by Dave Page
parent fca331acb6
commit 087332f32e
3 changed files with 56 additions and 8 deletions

View File

@@ -10,7 +10,8 @@
$.extend(true, window, {
"Slick": {
"Formatters": {
"JsonString": JsonFormatter
"JsonString": JsonFormatter,
"Checkmark": CheckmarkFormatter
}
}
});
@@ -28,4 +29,8 @@
}
}
function CheckmarkFormatter(row, cell, value, columnDef, dataContext) {
return value ? "true" : "false";
}
})(jQuery);