AnsweredAssumed Answered

Refresh content in AttributeTable when PublishData

Question asked by json.ajax on Oct 13, 2016
Latest reply on Oct 13, 2016 by rscheitlin

My widget does a search and then displays the search results on one of a tab in AttributeTable. In one circumstance I noticed AttributeTable doesn't display new content. My users have to click the Refresh button to see the new content. 

 

This circumstance is when AttributeTable is showing, and the tab is selected and Filter By Map Content is off. I would expect AttributeTable to refresh the content in that case. 

 

Has anybody else run into this issue? I think it's a bug. Here is how I made it to work for me. Please reply if there is a better way to do this. Thanks! 

 

AttributeTable - Widget.js - Line 858 

(It seems working with Filter By Map Content on / off)

 

if (this.showing && infoId === this.tabContainer.selectedChildWidget.paneId) {
var currentTable = this._resourceManager.getCurrentTable(infoId);
if (currentTable) {
currentTable.refresh();
}
} else {
this.onOpen();
// this.tabContainer.selectChild(page);
}

 

 

Outcomes