diff --git a/main/webapp/modules/core/scripts/views/data-table/cell-ui.js b/main/webapp/modules/core/scripts/views/data-table/cell-ui.js
index 91e4fd056..33a96ae0f 100644
--- a/main/webapp/modules/core/scripts/views/data-table/cell-ui.js
+++ b/main/webapp/modules/core/scripts/views/data-table/cell-ui.js
@@ -41,6 +41,23 @@ function DataTableCellUI(dataTableView, cell, rowIndex, cellIndex, td) {
this._render();
}
+DataTableCellUI.previewMatchedCells = true;
+
+(function() {
+
+ $.ajax({
+ url: "command/core/get-preference?" + $.param({
+ name: "cell-ui.previewMatchedCells"
+ }),
+ success: function(data) {
+ if (data.value && data.value == "false") {
+ DataTableCellUI.previewMatchedCells = false;
+ }
+ },
+ dataType: "json",
+ });
+})();
+
DataTableCellUI.prototype._render = function() {
var self = this;
var cell = this._cell;
@@ -108,7 +125,9 @@ DataTableCellUI.prototype._render = function() {
a.attr("href", encodeURI(service.view.url.replace("{{id}}", match.id)));
}
- self._previewOnHover(service, match, a, a, false);
+ if (DataTableCellUI.previewMatchedCells) {
+ self._previewOnHover(service, match, a, a, false);
+ }
$(' ').appendTo(divContent);
$('')