Add "Blank out cells (empty string)" to common transformations menu
This commit is contained in:
parent
0cff8a5c6c
commit
a8b5052b00
@ -615,6 +615,7 @@
|
|||||||
"to-date": "To date",
|
"to-date": "To date",
|
||||||
"to-text": "To text",
|
"to-text": "To text",
|
||||||
"blank-out": "Blank out cells (null)",
|
"blank-out": "Blank out cells (null)",
|
||||||
|
"blank-out-empty": "Blank out cells (empty string)",
|
||||||
"fill-down": "Fill down",
|
"fill-down": "Fill down",
|
||||||
"blank-down": "Blank down",
|
"blank-down": "Blank down",
|
||||||
"split-cells": "Split multi-valued cells",
|
"split-cells": "Split multi-valued cells",
|
||||||
|
@ -268,6 +268,11 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
|
|||||||
id: "core/to-blank",
|
id: "core/to-blank",
|
||||||
label: $.i18n._('core-views')["blank-out"],
|
label: $.i18n._('core-views')["blank-out"],
|
||||||
click: function() { doTextTransform("null", "keep-original", false, ""); }
|
click: function() { doTextTransform("null", "keep-original", false, ""); }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "core/to-empty",
|
||||||
|
label: $.i18n._('core-views')["blank-out-empty"],
|
||||||
|
click: function() { doTextTransform("\"\"", "keep-original", false, ""); }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user