View Full Version : How to change a text field input to an editable div?

4 Mar 2013, 6:36 AM
I have a text field (or time/date field) with mask. __:__:__ I have to change the color of "_" from black to white. Has Extjs 4 any solution to change input to (editable) div?

6 Mar 2013, 7:40 AM
You can use Ext.Editor turn turn a div into a textfield on click. Take a look at the examples/simple-widgets/editor.html example and double click on the field label or the panel title.

6 Mar 2013, 11:39 PM
Thanks for the answer, Editor is not the best solution, because "_" have to be white in the textbox, so I am trying to make a div seems like input textbox... now I have some result but not the ultimate yet, there are many bug yet...