是否可以为Angular在kendo网格中为每个数据项渲染两行?网格非常狭窄,我们需要为每个数据项提供文字说明,在多余的列中没有空格。
<table border=1>
<tr>
<th>ID</th>
<th>Name</th>
</tr>
<tr>
<td>1</td>
<td>John</td>
</tr>
<tr>
<td colspan="2">This is the first employee.</td>
</tr>
<tr>
<td>2</td>
<td>Jane</td>
</tr>
<tr>
<td colspan="2">This is the second employee.</td>
</tr>
</table>
我最终使用明细行模板添加了文字说明。默认情况下,详细信息行在组件中展开。