• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Grid is filtered. How do i set PDF Header to filtered value?

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

  • Grid is filtered. How do i set PDF Header to filtered value?

    I have a real basic app that basically shows a grid of fabric lists. The user has a filter where they can select what fabric lists details they want to see.

    When they download to PDF, how do I set the value of PDF header? I don't have a behavior I can hook into since the filtering is done at the grid level.

    thanks!
    ryan

  • #2
    When you say "filter" are you referring to the built in search of a grid? Or is it an actual filter field?

    Comment


    • #3
      it is using an actual filter field
      Attached Files

      Comment


      • #4
        OK, the following steps should give you what you want:
        • Create an app variable to store the value of the pdf header
        • Link this newly created app variable to the "pdfHeader" property of your grid
        • Go into edit mode for the grid in question
          • Click the Filters section
          • Expand the Settings on the right hand side
          • Enter a filter program
            • This is based off of the EXNABFLT template
        • Use SetAppVar('MY_APP_VAR':'MY_PDF_HEADER_VALUE') within your newly created filter program.

        Comment


        • #5
          Perfect! This worked.

          Comment

          Working...
          X