PrintSheet doesn't print child rows

Posted by: rsaslow on 8 September 2017, 12:29 pm EST

  • Posted 8 September 2017, 12:29 pm EST

    I have a FpSpread with 2 levels.  Imagine it with all of the parent rows expanded.  I'd like to print both parent and child rows as they appear on the screen.  PrintSheet only prints the parent rows. How do I do this?
  • Replied 8 September 2017, 12:29 pm EST

    You can print child sheets but, they would print on a different page:

    Add print code to
    a command button in a hierarchy example.

    Dim ss As FarPoint.Win.Spread.SheetView
    ss = FpSpread1.Sheets(0).GetChildView(0, 0)
    If Not ss Is Nothing Then
    FpSpread1.PrintSheet(ss)
    End If

    Another option might be to have a flat layout of the data and print that.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels