How to get hidden column value in Datatable?
How to get hidden column value in Datatable?
shahrushabh1996
Posts: 1Questions: 1Answers: 0
$.fn.dataTable.ext.search.push(
function (settings, data, dataIndex) {
var min = $('#min').datepicker("getDate");
var max = $('#max').datepicker("getDate");
var newDate = data[0].split("-");
var startDate = new Date(newDate[2], newDate[1] - 1, newDate[0]);
if (min == null && max == null) { return true; }
if (min == null && startDate <= max) { return true;}
if(max == null && startDate >= min) {return true;}
if (startDate <= max && startDate >= min) { return true; }
}
);
Anyone can please tell me column index 0 is hidden. now, How can I get hidden column value of index 0?
This discussion has been closed.