Ran into an interesting problem.
outputting a GridPanel with a custom render. The renderer outputs a basic html input field, at runtime however I cannot select text in the input. I can edit it, but if I had to click and drag inside the input box, I would not be able to select the text.
here's an exerpt:
tsGrid = new Ext.grid.GridPanel({
id : 'gridTimes',
store : gridStore,
border : false,
deletedLineIDs : [],
viewConfig : {
forceFit : true
},
plugins : [
actionColumn
],
cm : new Ext.grid.ColumnModel([
{id:'client',header: "client", width: 40, sortable: true, dataIndex: 'client'},
{header: "product", width: 20, sortable: true, dataIndex: 'product'},
{header: "job", width: 20, sortable: true, dataIndex: 'job'},
{header: "task", width: 20, sortable: true, dataIndex: 'task'},
{header: "notes", width: 20, sortable: true, dataIndex: 'notes'},
{header: "cancomplete", width: 20, sortable: true, dataIndex: 'cancomplete'},
{header: "Monday", width: 20, sortable: true, dataIndex: '0', cls : 'suppresspadding mon',renderer : function(v, p, record){return '<input tsid="' + record.id + '" class="x-form-field x-form-text" unselectable="off" onFocus="this.select()" value="' + v + '">';}},
{header: "Tuesday", width: 20, sortable: true, dataIndex: '1', cls : 'suppresspadding tue',renderer : function(v, p, record){return '<input tsid="' + record.id + '" class="x-form-field x-form-text" onFocus="this.select()" value="' + v + '">';}},
{header: "Wednesday", width: 20, sortable: true, dataIndex: '2', cls : 'suppresspadding wed',renderer : function(v, p, record){return '<input tsid="' + record.id + '" class="x-form-field x-form-text" onFocus="this.select()" value="' + v + '">';}},
])
})
any ideas?