Posted 10 October 2023, 11:42 pm EST
Hi David,
As per the current behavior of FpSpread control, spread can only paint the active cell in the active SpreadView. Therefore, we have to change the active spread view to paint the active cell in the child view. Please refer to the following code snippet to bring focus to the active cell in the child grid:
SheetView sheetChild = fpSpread1.ActiveSheet.GetChildView(1, 0);
SpreadView spreadView = fpSpread1.GetRootWorkbook().GetSpreadView(sheetChild, 0, 0);
fpSpread1.GetRootWorkbook().SetActiveWorkbook(spreadView);
sheetChild.SetActiveCell(1, 2);
Kindly refer to the attached sample for full implementation. (See HierarchyScroll_FocusS.zip)
Thanks & Regards,
Aastha