FlexGrid printing page number

Posted by: fsegui on 28 June 2022, 2:34 am EST

    • Post Options:
    • Link

    Posted 28 June 2022, 2:34 am EST

    Hi,

    I’m using the printing options from FlexGrid.

    I’m setting a specific footer text and I want to customize this footer text with the page number.

    Is it possible to do so ?

  • Posted 28 June 2022, 4:09 pm EST

    Hi,

    To set your custom footer text, you can use the C1FlexGrid.PrintParameters.Footer property. To customize this footer text with the page numbers, you can use the {0} and {1} placeholders in your custom string, which will be replaced by the current page number and total page count.

    Kindly refer to the attached sample showing the same. You can also refer to the documentation link below.

    https://www.grapecity.com/componentone/docs/win/online-flexgrid/C1.Win.C1FlexGrid.4.5.2~C1.Win.C1FlexGrid.GridPrinter~Footer.html

    Printing_FG.zip

    Best Regards,

    Kartik

  • Posted 4 July 2022, 1:04 am EST

    Hi,

    Sorry for not responding but thanks for your answer.

    Works fine.

Need extra support?

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

Learn More

Forum Channels