• 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 4 years, 3 months 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 4 years, 3 months ago by algol.plus.
Viewing 1 replies (of 1 total)
  • The topic ‘Auto Filter’ is closed to new replies.