【问题标题】:hidden attribute for th in dojo datagrid is not working into firefox 7+dojo datagrid中th的隐藏属性不适用于firefox 7+
【发布时间】:2011-12-15 00:01:03
【问题描述】:

在 dojo 数据网格中隐藏列的隐藏属性不适用于 firefox 7.0.1,该特定列将永久隐藏,而不取决于隐藏属性的值。

我尝试将不同的值设置为隐藏:-

1) 隐藏=“真”

2) 隐藏=真

但这个属性在旧版 3.6.15 的 firefox 中运行良好。

我正在做这样的事情:-

       <table dojoType="dojox.grid.DataGrid" id="tableGrid" height="300px" >
          <thead>
              <tr>
                  <th field="first_column" width="auto" hidden="true">First Columnn</th>
              </tr>
          </thead>
       </table>

所以我想知道我是否做错了什么。如果还有其他方法也可以隐藏该列,请告诉我。

谢谢 尼拉杰

【问题讨论】:

    标签: firefox datagrid attributes dojo hidden


    【解决方案1】:

    这听起来像是 dojo 错误跟踪器中的这个缺陷:http://bugs.dojotoolkit.org/ticket/11957

    如果您不反对修补您的 dojo 源,那么可以在票证上附加一个补丁来解决该问题。但它尚未应用于任何 Dojo 版本。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-10-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-15
    • 2011-01-04
    相关资源
    最近更新 更多