Select to view content in your preferred language

Customize the filter popup attribute table

1879
2
Jump to solution
12-21-2016 04:22 AM
GilbertoMatos
Frequent Contributor

Hello!

I need to customize the filter popup screens that open through the "Filter" option of the attribute table widget. For example:

- Change the label "All" and the label "None", where it says "of the following expressions in this parameter are true";

- Remove the "Field" option.

These options are in the "Add an expression set" option.

Thanks for any help, because I could not find where to change this information.

Thank you!
Gilberto.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Gilberto,

   The html template for the add an expression set is here:

[install dir]\server\apps\[app#]\jimu.js\dijit\templates\_FilterSet.html

<option value="AND" selected>${nls.all}</option>
<option value="OR">${nls.any}</option>

Your biggest issue is that any changes you make will affect the query widget and any of widgets that use the jimu.js\dijit\templates\_SingleFilter.html and _FilterSet.html

You can add a style attribute and set to display: none; for what ever you do not want to appear on that template.

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Gilberto,

   The html template for the add an expression set is here:

[install dir]\server\apps\[app#]\jimu.js\dijit\templates\_FilterSet.html

<option value="AND" selected>${nls.all}</option>
<option value="OR">${nls.any}</option>

Your biggest issue is that any changes you make will affect the query widget and any of widgets that use the jimu.js\dijit\templates\_SingleFilter.html and _FilterSet.html

You can add a style attribute and set to display: none; for what ever you do not want to appear on that template.

GilbertoMatos
Frequent Contributor

Thank you Robert!

That's what I needed.
I'll mark you as the correct answer.

Hug,
Gilberto.

0 Kudos