AnsweredAssumed Answered

attribute table - grid - double click

Question asked by natasha85 on Aug 10, 2016
Latest reply on Aug 11, 2016 by natasha85

Hi all,

in _FeatureTable.js int the createTable function I found the following code.

If I 'm using dblclick on a row associated to an hidden layer..I'm trying to add a message that ask if u want to set Visible the hidden layer and then if the end user choose "OK" set it to visible...but I'm not able to set the layer visibility to true...

 

this.own(on(

          this.grid,

          ".dgrid-row:dblclick",

          lang.hitch(this, function() {

            if (this.layerInfo &&

              this.layerInfo.isShowInMap()) {

              this._zoomToSelected();

            }

          })));

 

Thanks,

Naty

Outcomes