In fact I tried calling the myOwnFunction without any parameter and it still does not work.
property.Filterable = new FilterablePropertyModel { UI = "myOwnFunction" };
when I view the source of the page it looks like this:
"filterable":{"ui":"myOwnFunction"}
I am wondering is it because of quotes around the function name?