【问题标题】:Dojo EnhancedGrid CoulmnSelector checkbox stylingDojo EnhancedGrid CoulmnSelector 复选框样式
【发布时间】:2012-08-14 05:15:58
【问题描述】:

我用于创建 dojo 增强型数据网格的 Javascript 代码是:

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();

但复选框的样式不正确。复选框内有一个小方块。任何想法如何解决它。截图是:

【问题讨论】:

    标签: dojo dojox.grid.datagrid


    【解决方案1】:

    我错过了将enhancedgrid.css 包含在我的页面正文中。现在渲染得很好。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-02-22
      • 2016-08-23
      相关资源
      最近更新 更多