Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: How to keep content selection on double-click in table cell?

$
0
0

Hi Nicolas,

 

We did not remove the selection. The problem comes with the roundtrip that happens on selection. The dotted line appears because focus is set on the cell, and that's also standard behavior.

 

On a classic table, when you double click on a cell:

  • On the first click, the cell is focused (dotted line) and an event "RowSelected" is sent to the back end.
  • On the second click, text is selected as expected
  • But right after, response from the back end comes and refresh the page (selecting the row, enabling buttons etc...). And when the page is refreshed, the text selection is lost. So you don't have time to copy the text.

 

We can have a quick call to clarify that if you want.

 

And if you've found a one-liner javascript that solves this, don't hesitate to open a ticket on our component, maybe we can just add it to the standard


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>