我想删除复选框中的整个选择按钮,或者仅将所选元素的ID发送给控制器,但是我应该怎么办?
html
git commit -m "your commit"
我们没有使用正式标签,因此我们必须同时做两件事:选择一个值并询问网址。
jquery
@(Html.Kendo().Grid<Portal.Models.Location_Inventory>()
.Name("grid")
.Columns(columns =>
{
columns.Bound(p => p.item_id).Title("Item ID").Filterable(ftb => ftb.Cell(cell => cell.Operator("contains").SuggestionOperator(FilterType.Contains)).UI("focus"));
columns.Bound(p => p.item_desc).Title("Item Desc").Filterable(ftb => ftb.Cell(cell => cell.Operator("contains").SuggestionOperator(FilterType.Contains)));
columns.Bound(p => p.ext_desc).Title("Extended Desc").Filterable(ftb => ftb.Cell(cell => cell.Operator("contains").SuggestionOperator(FilterType.Contains)));
columns.Bound(p => p.vmi_pkg).Title("VMI Pack Size").Filterable(false).Width(125);
columns.Bound(p => p.bin).Title("Bin").Filterable(ftb => ftb.Cell(cell => cell.Operator("contains").SuggestionOperator(FilterType.Contains))).EditorTemplateName("String");
columns.Bound(p => p.qty_issued).Title("Qty to Issue").Filterable(false).EditorTemplateName("Integer").Width(125);
columns.Bound(p => p.qty_on_hand).Title("Qty on Hand").Filterable(false).EditorTemplateName("Integer").Width(125);
}).Events(ev => ev
.DataBound("onDataBound")
)
<script>
function onDataBound(arg) {
$('[data-text-field="item_id"]').focus();
}
</script>