Hi,
I have this issue when i put a textbox in a panel. and here is the code:
Code:
var cw = Ext.create('Ext.Viewport', {
layout: {
type: 'border'
},
.......
,{
region: 'center',
layout: 'border',
border: false,
items: [{
region: 'center',
autoScroll:true,
minWidth: 500,
title: '<img width="20" height="18" style="vertical-align:middle;" src="images/images-design/icon-folder.png"> Folder Contents',
dockedItems: [{
xtype: 'toolbar',
dock: 'top',
items: [{xtype: 'panel', id: 'topMenu',border:false,bodyStyle:{'background-color': '#FFF'},width:'100%',height: topMenuHeight}]
}]
},
and in the panel "topMenu" code:
Code:
function writeFolderContentsHeader(){
var browsedoc_header = '<div style="height:30px;padding-top:5px;width: 100%;">'+
'<div style="float: left; padding: 5px;">'+
'Items found: <span id="resultSizeLabel"></span> '+
'</div>'+
'<div style="float: right; margin-right: 10px;">'+
'<table >'+
......
'<td>'+
'<input type="text" style="border:1px solid #FFFFFF;width:20px;" id="gotoPageMark" value="" disabled="true"/> of '+
'</td>'+
..................
return browsedoc_header;
Code:
$('#topMenu').html(writeMenu()+writeFolderContentsHeader()+writeTableColumnHeader());
The input text that id of "gotoPageMark", for no apparent reason the backspace key is not functioning but the rest is ok. How can I make it work the backspace?
Cheers.
Eman