export csv, pdf for 3rd tab both tables with dropdown