Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot Copy Interactive Grid Column Value If the Column is Display only in EDIT mode

MeeuwtjeApr 6 2021

Hello,
According to document Doc ID 2555046.1 it is not possible to copy the text of a display only column in a Interactive Grid (IG) when it is in EDIT mode.
The document states that it is expected behavior.
However many of our users are complaining a lot about this situation. It is not very userfriendly if they need to switch back to read mode and change the selection to Cell selection before they can copy a text. Besides this we prefer to have the IG only in EDIT mode as if it is a tabular form or Excel tab.
So I want to ask why is this intended behavior for IG? In a classic report or interactive report the user is allowed to copy text of a td element. So why not for a IG?
Regards
Mathieu Meeuwissen

Comments

360 / 5000
Hello, I had the same problem trying to get or send data from a text field of type display only or sometimes even with those of type read only, the solution I could find is to create a text field of type hidden to send or get data and use the others only for samples. I don't understand why he behaves that way either, but I hope it helps you with something.

Meeuwtje

Hi Christian,
Thank you for your response.
The only workaround we have at the moment is to change the display-only column to a text field column and add a custom class APP-readonly in the Appearance CSS Classes attribute and the Advanced CSS Classes attribute. This class will add the readonly="readonly" attribute to the element on loading the page and uses some CSS (background) to make the column look like a display only column.
$(".APP-readonly").attr("readonly","readonly");
.a-GV-table tr:nth-child(odd) .a-GV-cell.WES-readonly {background-color: #dfe0e0;}
.a-GV-table tr:nth-child(even) .a-GV-cell.WES-readonly {background-color: #cccece;}
It is a bit more work sadly enough instead of just using the display only type, but it makes it possible to copy the readonly text by the user

1 - 2

Post Details

Added on Apr 6 2021
2 comments
1,807 views