Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
bootgridjquery选择行_Jquery_Asp.net_Ajax_Jquery Bootgrid - Fatal编程技术网

bootgridjquery选择行

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"&

我在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">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”设置为一个 列标题