I use serverFilter in my datatable. I have following code
{
id: "customFilter",
view:"richselect",
label: 'Пользовательские фильтры',
labelWidth: 200,
.....
}
voterTable.registerFilter($$("customFilter"),
{ columnId:"customFilter" },
{
getValue:function(node) {
return node.getValue();
},
setValue:function(node, value) {
node.setValue(value);
}
}
);
customFilter.attachEvent("onChange", function(newv, oldv){
voterTable.filterByAll();
voterTable.filter();
voterTable.find();
voterTable.refresh();
});
But nothing dont work properly. Can somebody help me?