defines the look of items inside the multiselect list of the Filter
{
view:"filter",
type:"number",
field:"year",
template:function(obj){
var value = obj.year;
var color = value >= 1970 ? "green" : "red";
return "<span style='color:"+color+"'>"+value+"</span>";
},
// ...
}
An optional parameter. By default, displays the values from the field.