registerFilter() on hidden column

Hi!
registerFilter() don’t work on hidden column, is it way to do this?
Thanks

for example
https://snippet.webix.com/jye04ldn

I need to hide column “rank”, but filter with “checkbox” must work.

Hello,
The point is that the column for which the filter is specified should be visible. Also built-in filters work only while the column is visible.
To solve it you can use compare property

$$("grid").registerFilter(
  $$("checkbox"),  
  { 
    compare:function(cellValue, filterValue, obj){
      if (filterValue)
        return obj.rank == filterValue
      return true;
    } 
  },
...

https://snippet.webix.com/kp6i6ght

Thanks!