【问题标题】:How to change the name of the excel toolbar for all grids?如何更改所有网格的 excel 工具栏的名称?
【发布时间】:2017-10-25 12:33:54
【问题描述】:

如何更改所有网格的excel工具栏的名称? 我试试这个,但它不起作用!

kendo.ui.Grid.prototype.options.messages =
$.extend(true, kendo.ui.Grid.prototype.options.messages, {
  name: "excel page example."
});

【问题讨论】:

  • 您可以将网格的代码添加到您的帖子中吗?
  • 我想通过语言规则来做
  • 我写了关于它的代码

标签: html kendo-ui localization kendo-grid


【解决方案1】:

这样的?

  $("#grid").kendoGrid({
      toolbar: [{name:'excel',text:'custom excel export button'}],
      excel: {
          allPages: true
      },
      .
      .
      .

  });

【讨论】:

  • 如果我想用消息库中的规则来做这个,我应该怎么做?
  • 应用的所有页面
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-11-28
  • 2018-08-29
  • 1970-01-01
  • 2017-02-24
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多