[pmg-devel] [PATCH 1/2] quarantine: spam info: make text selectable
Dominik Csapak
d.csapak at proxmox.com
Fri Sep 19 14:54:10 CEST 2025
theoretically one could enable selecting only for a single column, but
this does not work, since extjs sets 'x-unselectable' class on the whole
table, regardless of the column setting.
With the viewConfig, we can enable the selection on the whole grid at
least.
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
js/SpamInfoGrid.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/js/SpamInfoGrid.js b/js/SpamInfoGrid.js
index e3b5cdc..7bce0f4 100644
--- a/js/SpamInfoGrid.js
+++ b/js/SpamInfoGrid.js
@@ -32,6 +32,10 @@ Ext.define('PMG.grid.SpamInfoGrid', {
},
],
+ viewConfig: {
+ enableTextSelection: true,
+ },
+
columns: [
{
text: gettext('Test Name'),
--
2.47.3
More information about the pmg-devel
mailing list