PDA

View Full Version : Copy&Paste



eyp
27 Nov 2007, 10:21 AM
Hello, I'm using a GridPanel showing some data, but I can't select any text there to copy and paste out of the application. Is there any way to do it or to activate it?

eyp
29 Nov 2007, 3:31 AM
I know bumping is not a good idea, but it seems strange to me that nobody had needed to select contents (with mouse) within a GridPanel to copy into the clipboard, is it disabled?, is there a way to enable it?

eyp
29 Nov 2007, 5:04 AM
Well, I've found the solution to this 'problem'. I have to change the style

.x-grid3-row td,.x-grid3-summary-row td from ext-all.css file

removing the -moz-user-select property... so anyone can select the text displayed within the grid.

I don't test it in Explorer, but I suppose disabling text selection in that browser is made in another way.

krokiet
7 Feb 2008, 4:22 AM
In Internet Explorer it's made by using unselectable="on" HTML attribute.
I'm currently searching the way to disable this feature in my whole application...