Skip to content

DateTime Quickfilter without range #7286

Answered by VictorTomaili
Canodev01 asked this question in Help
Discussion options

You must be logged in to vote

Check our sample about quick filter customization. https://demo.serenity.is/AdvancedSamples/QuickFilterCustomization

With similar approach (for old version you may need to checkout older commit to see code) you can add datetime editor for quick filter and modify the grid request criteria.

create a range editor for freight sample demonstrate how to add new custom quick filter to your grid. Instead DecimalEditor you need to use DateEditor and in criteria you need to send criteria where is the date is bigger or less than the selected date.
https://github.com/serenity-premium/StartSharp/blob/master/pro-features/src/Serenity.Demo.AdvancedSamples/Modules/Grids/QuickFilterCustomization/QuickFilt…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@VictorTomaili
Comment options

@Canodev01
Comment options

@VictorTomaili
Comment options

Answer selected by Canodev01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants