by omeroksuzler » Thu Nov 30, 2017 12:29 pm
I don't have the code with me now. But what I am trying to do is to use Jide's CustomTableFilterEditor to filter the data programmatically in my random table. Let's say the user wants to do a GreaterThanFilter with this column consisting of only integers. Right now, I'm only creating a GreaterThanFilter object and supplying the parameters to it and then supplying the Filter object to TableCustomFilterEditor instance. getColumnClassName is returning Integer.class for that column. If I do it this way, I get the exception. If the getColumnClassName returns Object.class or String.class for that column, then it is trying to do the filter text based. What else am I supposed to do? It should be enough for primitive types in my opinion. By the way, thanks again for bearing with me.
Important Edit: It is spesifically for this column, it works for other same type of columns, even without having to return Integer.class from getColumnClassName...
Edit 2: About dates, I send the parsed date objects (using SimpleDateFormat), to BetweenFilter and the filter works fine. But if I do the same thing for InFilter, the filter is applied but not finding any results.