Jump to content

Recommended Posts

Posted

I'm currently on version 8.2, is there any new code that will turn on the column filters within Excel output without having to hard-code via the old method?

 

Old method:

<

DEFINE FILE CAR
 AUTOFILTER/A162 = '</td></tr><tr><td x:autofilter="all" x:autofilterrange="$A$2:$C$2">COUNTRY</td>'
                 | '<td class=xl100 x:autofilter="all">CAR</td>'
                 | '<td class=xl100 x:autofilter="all">MODEL' ;
END
TABLE FILE CAR
HEADING
"<AUTOFILTER "
PRINT COUNTRY AS ''
      CAR     AS ''
      MODEL   AS ''
ON TABLE PCHOLD FORMAT EXL07
END

>

  • Like 1
Posted

Hi Chad and Clayton - 

WebFOCUS 9.0.0 added a feature in Designer for Excel Tables that will enable sorting and filtering on the column titles of the report. This video shows both how to add it and the resulting output - but keep in mind it will only work in a WF 9.x release

 

  • Like 1
  • Thanks 2
  • 2 months later...
  • 5 months later...
Posted
On 7/1/2024 at 1:24 PM, Clayton Peacock said:

Hi @Chad Smith I've logged a NFR with TechSupport for this a while back- would love to see this functionality available for XLSX output. 

Thanks for sharing, this is really awesome. Will definitely use this at our customer. 

  • Like 1
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...