View Full Version : displayField / textField in one?

18 Aug 2012, 7:00 AM
I'm trying to make a details field that also turns into a text field when double clicked. I've made a few attempts with CSS and disable triggers but I can't seem to get it to look right. Is there a component or an easier way of doing this with ext4?

18 Aug 2012, 1:36 PM
Would it be easier to create a custom RO textfield that uses CSS to make it look like a displayfield and change properties on click ... instead of trying to transform a displayfield into a textfield?


19 Aug 2012, 11:52 PM
what about using a textfield and using the setReadOnly() method on click event?