Dojo EnhancedGrid CoulmnSelector复选框样式
我创建dojo增强型datagrid的Javascript代码是:Dojo EnhancedGrid CoulmnSelector复选框样式,dojo,dojox.grid.datagrid,Dojo,Dojox.grid.datagrid,我创建dojo增强型datagrid的Javascript代码是: grid = new dojox.grid.EnhancedGrid({ store: store, rowSelector: 'auto', **plugins: {indirectSelection: {headerSelector:true, width:'
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();
但是复选框的样式不正确。复选框内有一个小正方形。你知道怎么解决吗。截图为:
我错过了包含在页面正文中的enhancedgrid.css。现在天气转晴了