![]() | Products |
| Home » Technical Support » Elevate Web Builder Technical Support » Incident Reports » Incident Reports Reported for Version 1.02 » View Incident Report |
| Reported By: Chris Holland Reported On: 7/22/2013 For: Version 1.02 Build 2 |
procedure TGridColumn.MakeCellVisible(RowIndex: Integer);
var
TempCell: THTMLElement;
TempScrollTop: Integer;
TempGridOffset: Integer;
TempCellOffset: Integer;
begin
MakeColumnVisible;
TempCell:=GetCellElement(RowIndex);
if TempCell <> nil then // <------------ ADDED THIS TEST HERE
begin
TempScrollTop:=FGrid.Table.scrollTop;
TempGridOffset:=(TempScrollTop+FGrid.Table.clientHeight);
TempCellOffset:=(TempCell.offsetTop+TempCell.offsetHeight);
if (TempCellOffset > TempGridOffset) then
FGrid.Table.scrollTop:=(TempScrollTop+(TempCellOffset-TempGridOffset))
else if (TempCell.offsetTop < FGrid.Table.scrollTop) then
FGrid.Table.scrollTop:=(FGrid.Table.scrollTop-(FGrid.Table.scrollTop-TempCell.offsetTop));
end;
end;This web page was last updated on Wednesday, April 8, 2026 at 04:38 AM | Privacy Policy © 2026 Elevate Software, Inc. All Rights Reserved Questions or comments ? |

