【问题标题】:How to add double header to a handsontable?如何将双标题添加到掌上电脑?
【发布时间】:2014-03-31 08:39:09
【问题描述】:

我使用 jquery-handsontable 插件。我需要实现某种表格:

如何添加双标头,并且标头的第一部分必须与 colspan 一起使用?可能吗?如果是,那我怎样才能达到这样的效果?

提前致谢!

【问题讨论】:

    标签: jquery handsontable


    【解决方案1】:

    好的,现在回答可能有点晚,但如果有帮助的话。 您必须使用参数“nestedHeaders”如下

    nestedHeaders:[
                [{label: ''}, {label: 'January', colspan: 3}, {label: 'February', colspan:3}],
                ['', 'blah', 'blahblahblah', 'blah', 'bonus', 'blahblahblah', 'bonus']],
    

    【讨论】:

      猜你喜欢
      • 2013-02-11
      • 1970-01-01
      • 2011-01-02
      • 1970-01-01
      • 1970-01-01
      • 2017-05-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多