Select Widget: Is it possible to open attribute table automatically ?

417
3
10-09-2017 07:46 AM
RogerF
by
Occasional Contributor

I am trying to open Attribute table automatically based on selections made by Select tool. For example, If select tool selects features from 3 layers, I would like to open those three layers with in attribute table with selected features.

If someone has done that before, I would appreciate the pointers..

Thank you,

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Roger,

   If the layer is available in the select widget then usually the attribute table widget will have a tab already created for all the operational layers in the map. So open just the layers that have selections is not something that is practical but have the attribute table widget just open on completion of selection is doable. Will just opening the AT widget be good enough?

RogerF
by
Occasional Contributor

Robert,

I made following changes in SelectableLayerItem.js of Select Widget and it seems to be working so far. Please let me know if there is a better way of doing it

Thank you,

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

That look good to me.