Click here to Skip to main content
14,875,773 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We are exporting ui-grid data in CSV, we want to add filter dropdown in header of CSV after getting exported from UI-Grid in CSV.
I am not sure how should I do it, can some one please help if already tried it

What I have tried:

We are exporting in CSV properly but not able to add filter in CSV header while exporting it.
Posted
Comments
20212a 10-Feb-21 9:48am
   
What do you mean add filter? CSV is just a file of data separated by commas. It's just a text file.
User-8621695 10-Feb-21 10:45am
   
gotcha.. so is it possible in excel? I will change my code to export in excel instead of CSV. I want filter in Header of excel sheet like we do in our excel using Sort & Filter menu.
20212a 10-Feb-21 10:51am
   
You probably could. However, it would be easier to export to csv, open in Excel and manually add filters.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900