Hi all,
We have a number of scripts that manipulate data displayed in a datagrid via API calls, after which we have to refresh the panel in order to show them all the changes / new data.
We refresh the panel using various forms of:
var that = this.controller;
setTimeout(function () {
that.PressKey('F5');
}, 200);
The problem with this method is that after the refresh, the users are return to the top of the datagrid and they have to scroll down (sometimes a long way) to return to the row that they previously had selected.
I see that IActiveGrid has a function setSelectedRows(), but I've not had much luck actually getting this to do anything.
Has anyone found a solution to this problem?
Cheers,
Iain