如何在剑道工具栏上进行对齐?

时间:2015-03-11 18:18:10

标签: kendo-ui kendo-grid

我有两个按钮,如何根据下面的代码左右对齐添加实体,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"}
    ],

1 个答案:

答案 0 :(得分:1)

我玩了一点点并得到了解决方案。我将excel按钮添加到模板中并且有效。

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