-
how to create textfiled based on some condition in extjs view?
how to create textfiled based on some condition in extjs view?
For exampel
textBox:new Ext.form.TextField({ fieldLabel: 'Name', name: 'name', msgTarget:'side',
allowBlank:false,anchor: '10%'})
renderer:function(){
if(this.city== "xxxxxxxx"){
//here how can call textBox variable to display it on the view page?
return //
}
-
Sencha - Senior Forum Manager
Just depends where the code is at in relation to where the textfield is created.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us