I have a html table which populates with dynamic data, I want the same to be converted into Kendo Grid.
HTML Table:
<table>
<thead>
<tr>
<th>Dynamic Column1 </th>
<th>Dynamic Column2 </th>
<th>Dynamic Column3 </th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1 Cell 1</td>
<td>Row 1 Cell 2</td>
<td>Row 1 Cell 3</td>
</tr>
<tr>
<td>Row 2 Cell 1</td>
<td>Row 2 Cell 2</td>
<td>Row 2 Cell 3</td>
</tr>
</tbody>
</table>
When I convert this table into Kendo Grid using the below code:
$("table").kendoGrid({resizable: true});
The data is getting repeated in row1 all columns, similarly for the other rows like:
All other grids in my application are KendoGrids. 2 to 3 grids I implemented as HTML tables as each of these cells are different partial views. (I have different partial views for boolean, Drodown, Text, datepicker, so I will be redirecting to respective partial views based on the input). I didn't get a solution to have these partial views inside .
Can some one guide how to convert this dynamic html table into KendoGrid with the same datasource? or it will be helpful if you can let me know how to bind partialviews in kendo grid MVC (using clientTemplate)?