我在我的jquery data table中有100张唱片,我得到的记录如下所示
var oSOTable = $('#tblMultiSelectListWO_SO_DET').dataTable();
var dataArraySO = oSOTable.fnGetData();
var length = dataArraySO.length;
现在我需要的是,我已经使用数据表的simple search过滤了我的数据表,现在我只有5条记录。I need only the filtered data and it's count。尝试相同的上述代码,但仍然给予相同
我需要帮助自定义jquery数据表搜索。我需要进行主搜索,以便为单个列工作。
事实上,我必须在我的主搜索输入中实现。所以它有搜索逻辑,就像这些单独页脚输入一样。
我现在有这个代码,但它仍然没有像预期的那样工作。
var table = $('#editable-usage').DataTable();
// Apply the search
table.columns().every(function() {
var that = this;
$('#editable-usage_filter input').on('keyup ch
有没有基于其他数据表过滤数据表的方法?如下所示:
foreach (datarow dr in somedatatable.select("id= someothertable.rows["someotherid"])
{
dr[somefield]=someothertable[someotherfield];
}