我有一个网格,我在工具栏中有Kendo Tabstrip,所以在这个kendo标签之外我想添加一个应该适用于所有标签的导出按钮。我添加了一个按钮,但它没有出现在网格中。我不确定我做错了什么。请指教
到目前为止,我已经尝试过这个:
toolbar: [
{
template: kendo.template('<kendo-tabstrip><ul><li ng-class="{\'k-state-hover k-state-active\': defaultAllTab}"><a href="" class="k-grid-add border" ng-click="getAllSubCategories()">All</a></li>')
},
{
template: kendo.template('<li ng-class="{\'k-state-hover k-state-active\': defaultPendingTab}"><a href="" class="k-grid-add border" ng-click="getPendingSubCategories()">Pending Review</a></li>')
},
{
template: kendo.template('<li ng-class="{\'k-state-hover k-state-active\': defaultReviewTab}"><a href="" class="k-grid-add border" ng-click="getReviewedSubCategories()">Reviewed</a></li></ul><kendo-tabstrip>')
},
{
template: ' <button class="k-grid-excel pull-right btn btn-default btn-sm">Export to Excel</button>'
}
],
excel: {
fileName: 'Subcategory.xlsx',
proxyURL: '/third-party-management/rest/xls/download',
allPages:true,
filterable: true
},