Announcement

Collapse
No announcement yet.

Where can you edit the window size of PDF / Print modal?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Where can you edit the window size of PDF / Print modal?

    Hello.

    Does anyone know where to control the modal window size from?

    When I click on the PDF or Print export button the modal window that appears is much to small and it cuts off the PDF and Print controls?

    Any help is appreciated.

  • #2
    Anyone help on this?

    Where can you control the modal window settings?

    Comment


    • #3
      Has you some screenshot to share? Don't know whats exactly your problem
      /Giuseppe

      Professional Scriptcase Services
      Some Customers opinions

      Comment


      • #4
        See picture for example of how modal gets cut off?


        Modal-Size-Cutoff.jpg

        Comment


        • #5
          Originally posted by instore View Post
          See picture for example of how modal gets cut off?


          [ATTACH=CONFIG]1248[/ATTACH]

          I get that same problem. Haven't found a way to change the modal size yet either.

          Comment


          • #6
            any help on this?

            Someone must have run into this before?

            Comment


            • #7
              Ok, not do-able in Scriptcase front end at mo. But can be changed after you generate the code at the moment.

              In your grid application folder, look for the files "grid_yourapplicationname_config_word.php" for print and pdf look for those file ending in pdf and print instead.

              Now in the php file look for the line that says this:

              Code:
              <body class="scGridPage" style="margin: 10px; overflow-x: hidden">
              Note, margin may be at 0px in some apps

              After margin property put a width, i did this:

              Code:
              width: 250px;
              And change the margin to 0px if it isn't already.

              So it looks like this:

              Code:
              <body class="scGridPage" style="margin: 0px; width: 250px; overflow-x: hidden">
              Done. No screenshot right now, but it will work. This will need to be done for each grid app you have. Not super quick, but it is a work around for now and easy to do.

              Now bear in mind any changes you make in these files will be lost when you regenerate and re-deploy the code in Scriptcase.


              This is what works for me.
              Hope that helps for now.
              Last edited by mikelaw; 09-24-2014, 10:24 AM.

              Comment

              Working...
              X