C1TrueDBGrid Preview

Posted by: s.wortmann on 15 January 2019, 4:13 am EST

    • Post Options:
    • Link

    Posted 15 January 2019, 4:13 am EST - Updated 4 October 2022, 1:35 am EST

    Hi everbody,

    how can I set the “export to file” selections only to xlsx.

    I “create” a window with the Statement: C1TrueDBGrid1.PrintInfo.PrintPreview()

    But how can I set the PrintPreview Settings before I create the Windows?

    A short info would be nice.

    Thanks

    Stephan

  • Posted 16 January 2019, 5:07 am EST

    Hello,

    Sorry to mention that I don’t understand your actual requirement. Could you please explain the meaning of the following line:

    “how can I set the “export to file” selections only to xlsx.”

    How can I set the PrintPreview Settings before I create the Windows

    PrintPreview settings are already set in the Preview dialog when you set through the code before calling the “PrintPreview” method. Refer to the attached sample.

    Please explain If I am missing something.

    Thanks.

    WindowsApp7.zip

  • Posted 29 January 2019, 7:13 am EST

    Hello, thanks for your Reply.

    That is not what I’m looking for.

    try to explain it better :slight_smile:

    After the window with the printPreview appears, you are able to export (save as) the data in many different output files.

    BUT I only want to allow the export into Excel xlsx.

    Hope that the description is ok.

    Thanks

    Stephan

  • Posted 30 January 2019, 6:34 am EST

    Hello Stephan,

    Sorry to mention that it is not possible to customize the PrintPreview dialog of C1TrueDBGrid.

    Thanks.

  • Posted 31 January 2019, 6:13 am EST

    OK, thanks for this Information.

  • Posted 31 January 2019, 6:13 am EST

    OK, thanks for this Information.

Need extra support?

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

Learn More

Forum Channels