View Full Version : Textfield 'render' listener

2 Mar 2010, 12:10 PM
Hello everyone,

I want to render an input to a specific pattern. I did special vtype for this. But I want to learn that where is my mistake that I can't render the textfield. I added 'render' listener to my textfield, but there's nothing that changes.

Here's my code, I'll be happy if someone can help me..

Thanx in advance..

xtype : 'textfield',
id : 'renderText',
name : 'renderT',
fieldLabel : 'Giri?',
width : 300,
autoHeight : true,
vtype : 'numeric',
listeners : [{
'render' : function() {
// render(str) is my Javascript function