在Kendo网格中更改语言后,我没有得到数据

时间:2019-04-26 09:43:58

标签: kendo-ui kendo-grid

目前,我正在与Thymleaf合作开发Kendo-grid。我遇到了一个问题,我正在尝试在Kendo网格表中使用多种语言。每当我尝试在网格上应用其他语言时,<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>

0 个答案:

没有答案