Hi Team,
We are facing issue for filter in Header Row with check box type as it is not filtering the unchecked check boxes.
Since check boxes our customized according to the screens. Do we need to do any specific thing in order to make it work in row 0 filter.
Customized Rendering of check boxes :
function renderColumnValue(ui {
var cb = ui.column.cb,
cellData = ui.cellData,
checked = cb.check === cellData ? 'checked' : '';
if(typeof(checkDisable) == "undefined" ){
var disabled = false;
}
else{
var disabled = checkDisable(ui); //this will apply disable class to check box
}
return {
text: "<label><input type='checkbox' " + checked + " /></label>",
cls : (disabled ? disableClass : "")
};
}
Callback for check box :
function callBack(type) {
if (type.toUpperCase() == "BOOL") {
return {
all: false,
header: true,
check: true,
uncheck: false
};
}
}