2
我們有一個帶有列的網格面板,顯示正常。特別是一列,是一個可能非常大的字符串。我們想在這一列中添加一個滾動條,以便容納大量的文本。Sencha EXT JS datagrid滾動條專門在列上?
這可以用Sencha EXT JS完成嗎?或者如果滾動條無法完成,那麼鼠標懸停在列中顯示整個文本的方式如何?
var secondTab = Ext.create('Ext.grid.Panel', {
columnWidth: 0.60,
xtype: 'gridpanel',
store: standardsResultsStore,
autoheight: true,
columns: [
{
id :'standardName',
text : 'Standard Name',
flex: 1,
sortable : true,
dataIndex: 'standard'
},
{
text : 'Description',
flex : 2,
sortable : true,
dataIndex: 'description_standard'
}
]
});