I want to set the size of each column in csv file, I want to set the size of column against the field, I don\'t know where I can do the code of to set the size? Can anyone h
As I know, you cannot set a column size in CSV because there is absolutely no information about the presentation layout. CSV is Coma Separated Value.
The best behaviour for you application that will open your file is to set the column width to fit the data.
If you want to manage your presentation layout, you should instead generate a html content that could be opened with Excel (in example). In such a content, you will be able to set some attributes like width="400"
...