【问题标题】:How to do alignment on kendo toolbar?如何在剑道工具栏上进行对齐?
【发布时间】:2015-03-11 18:18:09
【问题描述】:

我有两个按钮,我如何根据下面的代码左右对齐添加实体是左边,excel导出是右边。

CONFIG.JS

toolbar: [
        {
            template: kendo.template('<a  href="" class=\'k-button k-button-icontext k-grid-add\' ng-click=\'addNewRole();\'><span class=\'k-icon k-add\'></span>Add Entity</a>')
        },
        {"name":"excel"}
    ],

【问题讨论】:

    标签: kendo-ui kendo-grid


    【解决方案1】:

    我玩了一下,得到了灵魂。我在模板中添加了 excel 按钮,它起作用了。

    template: '<button class="k-button k-grid-excel pull-right">Export to Excel</button>'
    

    【讨论】:

      猜你喜欢
      • 2015-06-28
      • 2011-04-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多