render: function(p) {
var theElem = p.getEl();
var theTip = Ext.create('Ext.tip.Tip', {
html: 'Tuliskan Sequent Number atau Telephone Number atau Office Number atau Mobile Number atau Customer Number ',
margin: '0 0 0 300',
shadow: false
});
p.getEl().on('mouseover', function(){
theTip.showAt(theElem.getX(), theElem.getY());
});
p.getEl().on('mouseleave', function(){
theTip.hide();
});
}
Ext.select('.datepicker').each(function(el){ new Ext.form.DateField({ allowBlank : true, renderTo: el, format:'m-d-Y', editable:false, width:140, fieldCls : 'tanggal x-form-field x-form-text x-trigger-noedit', }); }); Ext.select('.note').each(function(el){ new Ext.form.field.TextArea({ allowBlank : false, renderTo: el, grow : true, hideLabel : true, fieldCls : 'pesan x-form-field x-form-text x-trigger-noedit', }); });
Komentar
Posting Komentar