开发者

Where can I change dojo Grid template [closed]

开发者 https://www.devze.com 2023-03-27 04:29 出处:网络
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.

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 question

I 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消