Attribute Table Widget Data

721
3
11-02-2018 07:47 PM
ShaunWeston1
New Contributor III

Does anyone have some examples on how to send data from the attribute table widget to another widget without making any code changes to the attribute table widget?

Wanting to get the currently selected features (including related tables) in the attribute table populated into another widget.

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Shaun,


  No there is no way for the AT Widget to send data to another widget without a code change. You can get a reference to the AT widget and call internal methods and use internal variables from your widget though. I do this in the eSearch widget. I have not attempted to get a selection though.

ShaunWeston1
New Contributor III

Ah yes I can see how to do it now, can reference the attribute table widget and then get the selected features from the resource manager e.g.

this.attributeTableWidget._resourceManager.featureTableSet

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Don’t forget to mark this as answered.

0 Kudos