This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
开发者_如何学Go Improve this questionI am working on a project in dojo. Data grid is automatically created after recieving data from database. HTML code of current grid formed has following structure]
<div class="grid">
<table>
<tbody>
<tr>
<td></td><td></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td></td><td></td>
</tr>
</tbody>
</table>
</div>
Each <tr>
is in separate table. I want all <tr>
in one table not each <tr>
in separate table.
Where can I change this structure?
As I understand it, it is not possible to make this change - at least without major modification of DataGrid. The class lays out information like that to improve table loading and provide features like multiple line rows. If I may ask, what are you trying to accomplish that requires that the grid is formatted as a single table? DataGrid can be overkill in some cases but how it renders information shouldn't make a huge difference.
精彩评论