Attribute Table Revision to Ensure Filter by Map Extent is Checked by Default (WAB Dev v. 1.2)

2525
2
Jump to solution
08-13-2015 10:53 AM
DanielStoelb
Occasional Contributor III

In the previous version of WAB Developers Edition (1.1), you were able to change the widget.js code at line 185 from:

this.matchingmap=false

to:

this.matchingmap=true

This would then enable the filter by map extent was active, even if the checkbox was not checked in the Attribute Table widget.

In looking through and playing around with WAB Developer Edition v1.2, I've found the this.matchingmap to be at line 145, but even after making it set to true, it's still not filtering by the map extent.  I do see there is a new entry called this.matchingcheckbox = null, but I've tried changing values to 0, 1, true and nothing is working.   Has anyone figured out what code needs to be updated to make this work?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Daniel,

   On line 1031 change that to true:

checked: true,

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Daniel,

   On line 1031 change that to true:

checked: true,

DanielStoelb
Occasional Contributor III

That worked perfectly.  Thanks Robert!

0 Kudos