kendo-ui - 关于剑道网格中语言的变化我没有得到数据
问题描述
目前,我正在与 Thymleaf 一起研究 Kendo-grid。我面临一个问题,我正在尝试在剑道网格表中使用多种语言。每当我尝试在网格上应用不同的语言时,<thead>
标题标签都会出现应用语言,但似乎数据未显示在网格中<tbody>
。当我应用英语时,网格表正确显示数据。
<table>
<thead >
<tr>
<th><span th:text="#{user_name}" th:remove="tag"></span></th>
<th><span th:text="#{first_name}" th:remove="tag"></span></th> </tr>
</thead>
<tbody>
<tr th:each="user : ${users}" th:object="${user}" th:classappend="${isDeleted} ? item-deleted : ''"> <td th:text="${user.username}"></td>
<td th:text="${user.firstname}"></td> </tr>
</tbody>
</table>
解决方案
推荐阅读
- c# - 如何为可枚举类型返回 NotFound()?
- javascript - 从参数化的 module.exports 调用函数
- c# - .NET Core EF 一对多/多对多
- python - Python 打印相同的“您有资格申请成为美国参议员或众议员”。尽管输入了超出该范围的年龄,但声明
- javascript - 如何设置使用 v-model 的值输入?- 拉拉维尔
- c# - .net C# - Winform 在标题栏上出现“未响应”消息后被停用
- c# - 从矢量 CANoe 对象启动/执行 XML 测试节点
- node.js - 如何将 Promise.all 与 fs.unlink 回调一起使用?
- python - 使用python在Android手机上下载图片
- highcharts - 如何在 highcharts 中导出带有自定义 html 部分的图表?