Unplanned
Last Updated: 25 Feb 2020 10:43 by ADMIN
Created by: Mat
Comments: 0
Category: Filter
Type: Feature Request
1

Hi,

I notice you have added support for specifying the format of expressionPreview fields, which is great when handling dates and numbers, so thanks for that.

However, ideally I need to be able to use a template for the expression preview for certain fields. For example, take the scenario where you are filtering for 'user_id'. Currently I'm using a custom editor to present a drop-down list of user names to pass the user_id to the filter, which works well, but the expression preview looks like:

User Equals '132'

rather than:

User Equals 'Fred Bloggs'

If I could use a template for the expression preview, I could use a function to display the name associated with the user_id.

This is just one example: there are many others where a template would be useful in the Filter Panel expression preview.

Completed
Last Updated: 04 Dec 2019 15:00 by ADMIN
Release R1 2020
Created by: Mat
Comments: 0
Category: Filter
Type: Feature Request
2

There are occasions when the out-of-the-box filter operators can't be used, such as filtering on nested objects. In these situations I use a custom function for the filter operator.

It would be great if the Filter widget could support custom filter operators.

I realise this would be challenging, as it would break the save/load state function and would be difficult to handle in the expressionPreview.

Completed
Last Updated: 04 Dec 2019 14:59 by ADMIN
Release R1 2020
Created by: Mat
Comments: 1
Category: Filter
Type: Feature Request
2

Hi Team,

When a date filter is applied in the new Filter widget, the preview looks like: "Date Is After 'Tue Jan 01 2019 00:00:00 GMT+0000 (Greenwich Mean Time)'" -- I'd like to be able to customize the displayed date format, something like adding "format:"{0:dd/MM/yyyy}" to the 'fields' object.

Thanks