Add slider bar to Filter widget

353
4
10-14-2019 08:30 AM
Highlighted
New Contributor

Hi, 

 

I would like to make some modifications to the Filter widget. I have filter ranges (see below) and I want to replace the input boxes with sliders. What is the best and easiest way to do this? Many thanks!

4 Replies
Highlighted
Frequent Contributor II

Unfortunately it does not work that way. A filter is a simple on off based on values. You can enter high and low manually

Reply
0 Kudos
Highlighted
Esri Contributor

You can customize the filter widget code and replace the inputs with your own. Dojo does have a slider controller -

Sliders with Dijit - Dojo Toolkit Tutorial 

I'm guessing the widget gives the user dynamic values based on the layer so if you preconfigure the range values, you'll have some issues with different scenarios. It's definitely not easy but possible.

Shay

Reply
0 Kudos
Highlighted
New Contributor II

Has anyone implemented this via a customized widget? I'm interested in doing something similar.

Highlighted
New Contributor

Yes please, this would be very practical adding a slider to the Web App Builder as a widget. 

Reply
0 Kudos