Documentation

onBeforeFilter

called when filtering process is started, but data is not filtered yet

boolean onBeforeFilter(id id,id value,object config){ ... };

Parameters

ididthe column id
valueidthe value to be fitlered by
configobjectthe filter configuration

Returns

booleanreturning false will prevent data filtering

Example

dtable.attachEvent("onBeforeFilter", function(id, value, config){
    //ignores short filter-strings during filtering
    if (value.length < 3) return false;
})

See also

Back to top