How To Create Custom Filter Options for PopupFilter?

Forum to discuss the new web client version of Servoy.

How To Create Custom Filter Options for PopupFilter?

Postby john1598360627 » Wed Oct 06, 2021 11:36 pm

https://github.com/Servoy/svyPopupFilter/wiki#custom-filters

https://github.com/Servoy/svyPopupFilter/wiki/Custom-Templates

Need some help with doing something with the PopupFilter.

I want to implement some simple filters for user to click. Just some buttons and switch statements that apply a certain filter. (See Example Below)

I see how in the wiki there is custom filters and custom templates. Do I have to combine these two concepts to create this or what? Like code to create the custom filter, and custom template to make the UI.


Or, I'm just realizing now there's Simple Filters. Would this be easier to use?

https://github.com/Servoy/svyPopupFilter/wiki/Simple-Filter-Pickers


EXAMPLE OF UI
Screenshot 2021-10-04 160943.png
You do not have the required permissions to view the files attached to this post.
john1598360627
 
Posts: 21
Joined: Tue Aug 25, 2020 3:03 pm

Re: How To Create Custom Filter Options for PopupFilter?

Postby sean » Mon Oct 11, 2021 7:26 pm

Hi John,

The simple built-in filters are by far the easiest to use and cover most use cases.
However, if you want to implement your own UI flavor, you can extend the base forms and add your own UI. But that is definitely more advanced.

You can find the instructions here:
https://github.com/Servoy/svyPopupFilte ... -Templates

Hope this helps.

Best,
Sean
Software Engineer
Servoy USA
sean
 
Posts: 287
Joined: Mon May 21, 2007 6:26 pm
Location: USA


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 2 guests

cron