What steps will reproduce the problem?
1. use a TArcIWStringGrid
2. set ScrollToSelectedRow to true
3. run and select a row or programatically set a row to be selected
What is the expected output? What do you see instead?
Grid to jump to row elected. What I get is freezing.
What version of the product are you using? On what operating system?
Latest on here, XP
Please provide any additional information below.
Looking at HTML source code, its missing the ; between java calls.
ArcIWStringGrid.pas
if SelectedRow[y] then
begin
if FScrollToSelectedRow and (AContext.Browser in [brIE, brNetscape7]) then
begin
tagRow.AddStringParam('id', HTMLName + _SelectedRow + '_' + IntToStr(y));
if AContext.PageContext.WebApplication.IsPartialUpdate then
TIWPageContext40(AContext.PageContext).AddToUpdateInitProc('IWTop().document.getElementById("' + HTMLName + _SelectedRow + '_' + IntToStr(y) + '").scrollIntoView(false); ')
else
TIWPageContext40(AContext.PageContext).AddToInitProc('IWTop().document.getElementById("' + HTMLName + _SelectedRow + '_' + IntToStr(y) + '").scrollIntoView(false); ');
end;
end;
Each of the TIWPageContext40's at the end after (false) did not have a ;
added it, now it works.
Original issue reported on code.google.com by jdred...@gmail.com on 9 Sep 2010 at 1:01
Original issue reported on code.google.com by
jdred...@gmail.com
on 9 Sep 2010 at 1:01