【发布时间】:2015-10-20 16:23:24
【问题描述】:
http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.grid.column.Action
使用 extjs 操作列,我可以将操作列的图标水平居中,但是我无法垂直对齐图标,这会导致布局看起来很奇怪。
{
xtype: 'actioncolumn',
tooltip: this.self.QUICKLOOK_TOOLTIP,
tdCls: 'action-column',
isDisabled: function(view, rowIndex, colIndex, item, record) {
return !this.quicklookable(record);
},
getClass: function(value, metaData, record) {
return this.quicklookable(record) ? 'bui-icon quicklook' : '';
},
itemId: 'activityListOpenQuicklook',
width: 50,
align: 'center',
handler: function(grid, rowIndex, colIndex, item, evt, record, row) {
this.fireEvent('openQuicklook', record);
},
scope: this
}
有人有关于如何使用操作列组件垂直对齐的解决方案吗?
【问题讨论】:
标签: javascript css extjs extjs4