public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH 1/2] quarantine: spam info: make text selectable
Date: Fri, 19 Sep 2025 14:54:10 +0200	[thread overview]
Message-ID: <20250919125426.2547332-1-d.csapak@proxmox.com> (raw)

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


             reply	other threads:[~2025-09-19 12:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-19 12:54 Dominik Csapak [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250919125426.2547332-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal