hi! i follow the demo's code in tutorial of grid. This is my code:
<table id="grid">
<thead>
<tr>
<th data-field="Content1"></th>
<th data-field="Content2"></th>
</tr>
</thead>
</table>
$("#grid").kendoGrid({
dataSource: dataSource,
height: 100,
scrollable: {
virtual: true
},
selectable: true,
});
Above code displays content1 and content2 in 2 collumns. I try to edit <thead> <th> tag to <tbody></td> but it's seem kendoGrid can oly bind data to <th> tag right?
i wanna display the table in one coll which content1 and content2 are just in one block. How can i do it?
Thanks for any help!
<table id="grid">
<thead>
<tr>
<th data-field="Content1"></th>
<th data-field="Content2"></th>
</tr>
</thead>
</table>
$("#grid").kendoGrid({
dataSource: dataSource,
height: 100,
scrollable: {
virtual: true
},
selectable: true,
});
Above code displays content1 and content2 in 2 collumns. I try to edit <thead> <th> tag to <tbody></td> but it's seem kendoGrid can oly bind data to <th> tag right?
i wanna display the table in one coll which content1 and content2 are just in one block. How can i do it?
Thanks for any help!