PDA

View Full Version : Can the text in a disabled textfield be selectable for copy/paste?



aghextjs
19 May 2010, 11:19 AM
I have a FormPanel with many textfields on it. Some of the textfields are disabled and I am trying to make the text in the textfields selectable by the mouse for copy/paste purposes. I know I can make the field readOnly instead of disabled, but then it doesn't look disabled. I also know that it would be better as a DisplayField (my ideal sol'n) but that will involve a lot of rework that there isn't time for at the moment.

Is there anyway to make the text selectable? I mostly care about IE. I've put in Condor's sol'n for the grids that we have and that is working great. Now I'm stuck on the regular textfields! I can't seem to find anything in the forums about this.

Any ideas? Help is greatly appreciated.

thanks,
Annie

CrazyEnigma
19 May 2010, 1:44 PM
readOnly, with a change in css.