2012-08-14 55 views
0

我的Javascript代码创建道场增强的数据网格是:道场EnhancedGrid CoulmnSelector复选框造型

grid = new dojox.grid.EnhancedGrid({ 
          store: store, 
          rowSelector: 'auto', 
          **plugins: {indirectSelection: {headerSelector:true, width:'auto', styles:"text-align: center;"}},** 
          structure: [ 
              {field: 'msname', width: 'auto', name: 'Milestone'}, 
              {field: 'description', width: 'auto', name: 'Description'}, 
              {field: 'msorder', width: 'auto', name: 'Milestone Order'}, 
              {field: 'eventtype', width: 'auto', name: 'Event Type'}, 
              {field: 'isngrp', width: 'auto', name: 'Is NGRP?'}, 
              {field: 'eventAttribute', width: 'auto', name: 'Event Attribute(s)'} 
             ] 
         },"grid"); 
         grid.startup(); 

但是复选框的风格是不妥当的。复选框内有一个小方格。任何想法如何解决它。该截图是:

Enhanced Grid checkbox styling

回答

0

我错过了enhancedgrid.css被包含在我的页面的主体。它现在呈现良好。