Select 如何使剑道下拉选择在剑道网格内始终可见
我试图把一个简单的选择放在剑道网格内,但我没有运气。选择不显示。知道我需要做什么吗 这是我的密码: JS HTMLSelect 如何使剑道下拉选择在剑道网格内始终可见,select,kendo-ui,kendo-grid,Select,Kendo Ui,Kendo Grid,我试图把一个简单的选择放在剑道网格内,但我没有运气。选择不显示。知道我需要做什么吗 这是我的密码: JS HTML 使用此配置无法实现所需的功能。看 问题出在这里,因为它没有看到选择,只有在单击时:@play2web下拉列表不能始终可见您的场景不受支持。我的建议如下 $(document).ready(function () { $("table").kendoGrid({ autoBind: true, scrollable:
使用此配置无法实现所需的功能。看
问题出在这里,因为它没有看到选择,只有在单击时:@play2web下拉列表不能始终可见您的场景不受支持。我的建议如下
$(document).ready(function () {
$("table").kendoGrid({
autoBind: true,
scrollable: false,
sortable: false,
selectable: false,
filterable: false
});
});
$(document).ready(function () {
$('select').kendoDropDownList();
});
<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>
function DropDownEditor(container, options) {
$('<select data-bind="value:' + options.field + '"><option>option 1</option><option>option 2</option></select>')
.appendTo(container)
.kendoDropDownList();
}