Currently (I am using 1.3) it seems clearMarking() function only affects to the source table but the renewed DataView class is not published to the mod. So that the mod user has to do a small hack like this way.
allRows?.forEach((row)=>{
row.mark();
});
dataView.clearMarking();
For developer's convenience, I would like to request clearMarketing() function becomes effective to the mod contents via a round trip of publish event.
| Implemented in | 14.6 |
Issue fixed in Spotfire 14.6:
The clearMarking method in the visualization mods API is not accessible without awaiting the result of a DataViewProxy, returned by ModVisualization.data().