all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pmg-devel] [PATCH 1/2] quarantine: spam info: make text selectable
@ 2025-09-19 12:54 Dominik Csapak
  2025-09-19 12:54 ` [pmg-devel] [PATCH 2/2] quarantine: spam info grid: group good and bad scores Dominik Csapak
  2025-09-19 15:32 ` [pmg-devel] applied: [PATCH 1/2] quarantine: spam info: make text selectable Thomas Lamprecht
  0 siblings, 2 replies; 4+ messages in thread
From: Dominik Csapak @ 2025-09-19 12:54 UTC (permalink / raw)
  To: pmg-devel

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@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



_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-19 15:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-19 12:54 [pmg-devel] [PATCH 1/2] quarantine: spam info: make text selectable Dominik Csapak
2025-09-19 12:54 ` [pmg-devel] [PATCH 2/2] quarantine: spam info grid: group good and bad scores Dominik Csapak
2025-09-19 15:36   ` Thomas Lamprecht
2025-09-19 15:32 ` [pmg-devel] applied: [PATCH 1/2] quarantine: spam info: make text selectable Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal