royale-asjs icon indicating copy to clipboard operation
royale-asjs copied to clipboard

Unable to select text from AdvancedDataGridColumn

Open pashminakazi opened this issue 5 years ago • 6 comments

In Royale: We are not able to select data from the ADG field it highlights all the row image

In Flex: We are able to select data from the ADG field image

Please help

pashminakazi avatar Jan 06 '21 15:01 pashminakazi

@aharui Please help

pashminakazi avatar Feb 01 '21 10:02 pashminakazi

@aharui Please check: https://paste.apache.org/4v9wm Drag-select of text is not working,I want to drag-select text and then right-click to copy that text but drag-select is not working

pashminakazi avatar Feb 25 '21 11:02 pashminakazi

Here's a prototype of custom renderer with a custom right click menu.

ADGRendererWithCopyText.txt

aharui avatar Mar 10 '21 08:03 aharui

@aharui Thank u so much but there's something missing from it

  1. There's only a copy option is shown all other default options are not shown on the click.
  2. Right-click selects whole the row, It should be drag-select only that part of an area what we want to copy, Drag-select doesn't work image

pashminakazi avatar Mar 10 '21 13:03 pashminakazi

It is just a prototype. I don't think I will have time soon to create a complete implementation. You should be able to start from here and complete it yourself.

I don't think I will have time to emulate ADG cell selection but this prototype seems to allow copying of the text of a cell regardless. Why is that not sufficient?

aharui avatar Mar 10 '21 18:03 aharui

Hi Alex,

Its sufficient thank u so much, Can you please guide me that in which class what functions should be implemented for ADG drag-select working? And What functions should be implemented for adding my own options like(copy,export to excel) into existing list of options?

Regards, Pashmina

On Wed, Mar 10, 2021, 11:02 PM aharui [email protected] wrote:

It is just a prototype. I don't think I will have time soon to create a complete implementation. You should be able to start from here and complete it yourself.

I don't think I will have time to emulate ADG cell selection but this prototype seems to allow copying of the text of a cell regardless. Why is that not sufficient?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apache/royale-asjs/issues/1042#issuecomment-795832950, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKB67E6UUCD2WLZLSQSBEB3TC6Q3RANCNFSM4VXV7F6A .

pashminakazi avatar Mar 11 '21 07:03 pashminakazi