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();
但是複選框的風格是不妥當的。複選框內有一個小方格。任何想法如何解決它。該截圖是: