[
"",
"greater than",
"greater than or equal to",
"less than",
"less than or equal to",
"equals",
"between"
]
Date
[
"",
"date equals",
"date time equals",
"before date",
"before date time",
"before or equal to date",
"before or equal to date time",
"after date",
"after date time",
"after or equal to date",
"after or equal to date time",
"between dates",
"between date times"
]
When using column filter, how do I capture the filtered data?
I did a test and after performing the filter on the column, I see that the table is filtered correctly, but when I try to capture the filtered data in "...props.filter.results.data" it returns an empty list .
@ynejati is there a reason that the negative cases weren't included? Aka Number "not equals", Text "does not contain"? Or am I missing a way to implement that with the existing options?
Not specifically, no. Time constraints, I suppose. Blame the date filters, timezones, and DST :).
Besides, we always prefer to get you guys something sooner, even if it doesn't cover all cases. We have a ticket to add a bunch more. Feel free to list whatever you need here and we can add it to the ticket. The more people that like your list, the farther we can move it up the priority queue.
Thanks a lot for last released perspective Table improvements (null render and columns filter).
A great feature addition will be a way to select all lines or all displayed lines of a table
(with a script function or with a checkbox like we can do in Alarm Staus/Journal Table)
@ynejati Thanks for this features this is very helpful but I don't find a way to reset the filter, is it possible?
For future improvement here are few things that could be useful :
Having the possibility to propose custom enum filters (for example if my column can take two values "A" and "B", I would like to be able to propose a list of those two items with checkboxes).
Provide a way to customize the language (for the condition list and the "Apply" button)
Do what exactly? Translate the text? I do see that we aren't translating the apply button text and the remove filter text. Apologies for that. The good news is that the conditions list and the inputs appear to be accepting translation.
Edit:
Its invisible/white. It was a perspective session props theme override. Will need to dig more on what specific class controls the color of the filter remove text.
Any updates available regarding this post? The column filters are fantastic but our clients are requesting access to the filtered data. Similar to the props.filter.results.data property.
It looks like this can be achieved by analyzing props.columns[x].filter.