bootgridjquery选择行
我在asp.NETMVC中使用Bootgrid jquery,我试图使行可选择,我尝试了我在网上找到的内容,但仍然不起作用,它显示时没有选择功能bootgridjquery选择行,jquery,asp.net,ajax,jquery-bootgrid,Jquery,Asp.net,Ajax,Jquery Bootgrid,我在asp.NETMVC中使用Bootgrid jquery,我试图使行可选择,我尝试了我在网上找到的内容,但仍然不起作用,它显示时没有选择功能 <table class="table table-condensed table-hover table-striped col-md-12" id="tbl-Produits"> <thead> <tr> <td data-column-id="Nom"&
<table class="table table-condensed table-hover table-striped col-md-12" id="tbl-Produits">
<thead>
<tr>
<td data-column-id="Nom">Nom du Produit</td>
<td data-column-id="Type"> Type du Produit</td>
<td data-column-id="LastVersion">Dernière version </td>
</tr>
</thead>
<tbody></tbody>
</table>
<script type="text/javascript">
$(document).ready(function () {
var ProduitsGrid = $("#tbl-Produits").bootgrid({
ajax: true,
selection: true,
multiSelect: false,
rowSelect: true,
url: "@Url.Action("getall")",.....
产品名称
产品类型
德尼埃版本
$(文档).ready(函数(){
var ProduitsGrid=$(“#tbl Produits”).bootgrid({
阿贾克斯:没错,
选择:正确,
多选:错,
rowSelect:true,
url:“@url.Action(“getall”),。。。。。
您需要为一列设置数据标识符=“true”。
正如文件所说:
确保数据属性data identifier=“true”设置为一个
列标题
您需要为一列设置数据标识符=“true”。 正如文件所说: 确保数据属性data identifier=“true”设置为一个 列标题