• I am trying to add filter on row 1 utilising below

    $formatter ->getActiveSheet()->setAutoFilter('A1:B1');

    but getting php error

    is this not the correct way of implementing ?

    • This topic was modified 1 month, 3 weeks ago by prodograw.
Viewing 1 replies (of 1 total)
  • Plugin Author algol.plus

    (@algolplus)

    please, use another variable.

    sample code

    add_action( 'woe_xls_print_footer', function ($objXls,$formatter) {
     $objXls->getActiveSheet()->setAutoFilter('A1:B1');
    }, 10, 2); 
    • This reply was modified 1 month, 3 weeks ago by algol.plus.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.