【发布时间】:2015-03-17 23:14:40
【问题描述】:
我试图在剑道网格中放置一个简单的选择,但没有运气。选择不显示。知道我需要做什么吗?
这是我的代码:
JS
$(document).ready(function () {
$("table").kendoGrid({
autoBind: true,
scrollable: false,
sortable: false,
selectable: false,
filterable: false
});
});
$(document).ready(function () {
$('select').kendoDropDownList();
});
HTML
<table style="min-height:400px;">
<thead>
<tr>
<th>ALL Vaults</th>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>
<select>
<option>option 1</option>
<option>option 2</option>
</select>
</td>
</tr>
<tr>
<td>2</td>
<td>
<select>
<option>option 1</option>
<option>option 2</option>
</select>
</td>
</tr>
<tr>
<td>3</td>
<td>
<select>
<option>option 1</option>
<option>option 2</option>
</select>
</td>
</tr>
</tbody>
</table>
【问题讨论】:
标签: select kendo-ui kendo-grid