📌  相关文章
📜  jquery datatable 参数传递 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:01:51.742000             🧑  作者: Mango

代码示例1
dataTable = $("#Table").dataTable({
                    "sAjaxSource": '@Url.Action("MethodName", "COntrollerName")',
                    "fnServerParams": function (aoData) {
                        aoData.push(
                            { "name": "cCode", "value": "value" },
                            { "name": "bCode", "value": $("#MC_BranchCode").val() },
                            { "name": "ConvertedtoConsol", "value": $("input[type='radio']:checked").val() }
                        );
                    },
                    "bServerSide": true,
                    "stateSave": true,
                   // "select" : 'multi',
                    "bProcessing": true,
                    "scrollX": true,
                    "searching": false,
                    "order": [[1, 'asc']],