2012-08-14 39 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被包含在我的頁面的主體。它現在呈現良好。