filtering jquery data table with FixedColumns clicking external button.plz help!!
filtering jquery data table with FixedColumns clicking external button.plz help!!
suvro84
Posts: 6Questions: 0Answers: 0
i have a text box and a search button .On clicking the button the data table grid with fixed column will be filtered based on the value given on the text box.I have 3 columns as fixed in my grid
i am doing like
"sAjaxSource": 'Home/AjaxHandler',
, "fnServerData": function (sSource, aoData, fnCallback) {
aoData.push({ "name": "CompanyID", "value": $("#txtId").val() });
$.getJSON(sSource, aoData, function (json) {
fnCallback(json)
});
}
It is giving error like:-
JavaScript runtime error: Unable to get property 'style' of undefined or null reference
int the below line :-
nThs[i-iCorrector].style.width = "";
in the below script of jquery.dataTables.js
/* Apply custom sizing to the cloned header */
var nThs = _fnGetUniqueThs( oSettings, nTheadClone );
iCorrector = 0;
for ( i=0 ; i
i am doing like
"sAjaxSource": 'Home/AjaxHandler',
, "fnServerData": function (sSource, aoData, fnCallback) {
aoData.push({ "name": "CompanyID", "value": $("#txtId").val() });
$.getJSON(sSource, aoData, function (json) {
fnCallback(json)
});
}
It is giving error like:-
JavaScript runtime error: Unable to get property 'style' of undefined or null reference
int the below line :-
nThs[i-iCorrector].style.width = "";
in the below script of jquery.dataTables.js
/* Apply custom sizing to the cloned header */
var nThs = _fnGetUniqueThs( oSettings, nTheadClone );
iCorrector = 0;
for ( i=0 ; i
This discussion has been closed.
Replies
Allan