Hi Betasec,
with the latest version you can not yet subscribe the same item both in MERGE and DISTINCT mode, but you can change the behavior of visual objects by the
forceSubscriptionInterpretation(interpretation) method.
So, please, try this pieces of code:
page1:
[SYNTAX=JS]var stocksGrid = new StaticGrid(tableName,true);
........
var stockSubscription = new Subscription("MERGE",stocksGrid.extractItemList(), stocksGrid.extractFieldList());
stockSubscription.addListener(stocksGrid);[/SYNTAX]
page2:
[SYNTAX=JS]var scrollGrid = new DynaGrid("scrollTable1",true);
var u = "UPDATE_IS_KEY";
scrollGrid.forceSubscriptionInterpretation(u);
..........
var scrollSubscription = new Subscription("MERGE",page1Group,stocksSchema);
scrollSubscription.addListener(scrollGrid);[/SYNTAX]