Heading of CSV file

Hi there!  I am creating an application where I am creating and downloading a CSV file consisting of the records like name, DOB, Class etc. I am able to see the records in the respective field, but I want a heading for each column at the top of the downloaded CSV file. Can anyone help me regarding how can I show the heading also eI want to change the position of the column and text like first name, then class and lastly DOB.
0 answers