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 <font color="#000000">print</font> code to
    a command button in a <font color="#000000">hierarchy</font> example.

    Dim ss As FarPoint.Win.Spread.SheetView
    ss = FpSpread1.Sheets(0).GetChildView(0, 0)
    If Not ss Is Nothing Then
    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