Add slider bar to Filter widget

1360
4
10-14-2019 08:30 AM
by Anonymous User
Not applicable

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
RobertBorchert
Frequent Contributor III

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

0 Kudos
shaylavi
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

Shay
0 Kudos
AlexWhitesell
New Contributor II

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

PeterTennant
New Contributor

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