PDA

View Full Version : Form text field showing onclick



naus
7 Dec 2010, 4:21 PM
Trying to get my head around extjs :)

Is there a component or an easy way to show the plain text first and onclick change the text into the form field or textarea for editing? Something like datagrid with only one cell.

naus
7 Dec 2010, 4:34 PM
Found InlineFormFields extension which does exactly what I need, although it hasn't been updated since extjs 1.1.

http://www.sencha.com/learn/Extension:InlineFormFields

Condor
8 Dec 2010, 3:46 AM
You could use a DisplayField that starts an Ext.Editor instance when clicked.