关于jQuery中dataTable问题,如何修改sAjaxSource添加参数

如题所述

第1个回答  2019-08-01
1.
fnfiler
是插入表格数据的一个方法
查了下
有以下参数
{string}:
string
to
filter
the
table
on
插入表格的值
{int|null}:
column
to
limit
filtering
to
最大行数
{bool}
[default=false]:
treat
as
regular
expression
or
not
{bool}
[default=true]:
perform
smart
filtering
or
not
{bool}
[default=true]:
show
the
input
global
filter
in
it's
input
box(es)
{bool}
[default=true]:
do
case-insensitive
matching
(true)
or
not
(false)
2.
this.value
是对应的input的值
3.
$("tfoot
th").index($(this).parent())+1
因为序列index是从0取的,而实际行数应该需要加1.
好比
0.1.2
其实是有3个数,但显示最后是2.
需要+1
按你的代码得到的是
7