0

我有这样的 extjs 网格:

var grid = new FlexGridPanel({
   renderTo: 'someDiv',
   frame: false,
   columnLines: true,
   stripeRows: true,
   title: '<spring:message javaScriptEscape="true" code="someLabel"/>',
   height : 200,
   store: store,
   viewConfig: { forceFit:true},
   enableColumnHide: false,
   enableColumnMove: false,
   columns: [

       {header: '<spring:message javaScriptEscape="true" code="label.account.bank"/>',dataIndex:'bank' , width: 100, menuDisabled: true,sortable: true},
       {header: '<spring:message javaScriptEscape="true" code="label.account.number"/>',dataIndex:'accountNumber' , width: 100, menuDisabled: true,sortable: true},
       {header: '<spring:message javaScriptEscape="true" code="label.account.name"/>',dataIndex:'accountName', width: 200, menuDisabled: true,sortable: true},
       {header: '<spring:message javaScriptEscape="true" code="label.account.currency"/>',dataIndex:'currencyCode', width: 100, menuDisabled: true,sortable: true},
       {header: '<spring:message javaScriptEscape="true" code="label.account.type"/>',dataIndex:'accountTypeCode', width: 100, menuDisabled: true,sortable: true}
  ],
  sortInfo:{field: 'accountNumber', direction: "ASC"},
  sm: new Ext.grid.RowSelectionModel({singleSelect: true})
 });

现在,列标题都有一个漂亮的灰色背景。但是我没有在上面的定义中指定任何灰色背景,甚至没有指定任何 css 类。那么怎么会有灰色背景呢?

4

0 回答 0