Author Topic: Issue with Copy Functionality Inside Grid  (Read 639 times)

luckduck

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 60
    • View Profile
Issue with Copy Functionality Inside Grid
« on: April 14, 2026, 07:27:51 am »
In pqGrid version 11, copying cell content via Ctrl + C seems to rely on the navigator.clipboard API, which requires a secure (HTTPS) context.

Our system runs on an internal network over HTTP, so this functionality is not available.

As this issue impacts a production environment, we would appreciate any possible workaround or alternative approach.

Thank you in advance.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6552
    • View Profile
Re: Issue with Copy Functionality Inside Grid
« Reply #1 on: April 15, 2026, 08:35:11 am »
Moving away from the Clipboard API in pqGrid v11 is unfortunately not feasible because modern browsers have standardized on this secure interface to protect user data, making it a core dependency for the grid’s internal copy-paste logic. Since the browser itself blocks these features on insecure origins as a hard security requirement, there is no programmatic workaround that can reliably bypass the need for a Secure Context. To restore this functionality in your production environment without a massive architectural downgrade, the most effective path forward is to serve your internal site over HTTPS, which will satisfy the browser's security protocols and allow the native clipboard functions to execute correctly.

luckduck

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 60
    • View Profile
Re: Issue with Copy Functionality Inside Grid
« Reply #2 on: April 16, 2026, 05:36:49 am »
Thank you for your answer. Have a nice day.