Hi,
Yes sorry,
Try this:
function afterrender(sender, eOpts)
{
// focus on field
var cmp = sender;
Ext.QuickTips.init();
Ext.defer(function() {
cmp.inputEl.dom.focus();
cmp.inputEl.dom.style.width = "70%";
}, 100);
// listen virtual keyboard keys
cmp.inputEl.on({
mousedown: function(ev) {
if (ev.target.tagName === 'TD') {
// We trigger change event only on textfield with the focus
if (document.activeElement) {
if (document.activeElement.id === cmp.inputEl.dom.id)
cmp.fireEvent('change');
}
}
},
delegate: '#keyboardInputMaster'
});
VKI_attach(sender.inputEl.dom);
var vkb = cmp.el.query('.keyboardInputInitiator')[0];
if (vkb) {
vkb.style.position = 'absolute';
if (cmp.rtl) {
vkb.style.left = '0px'
} else {
vkb.style.right = '0px'
}
vkb.style.top = '0px';
vkb.style.padding = '3px 1px';
}
}