on 10-22-2012 11:37 AM
Hi,
I have created a jsp page in MII which will export the data in excel spreadsheet. I am using the below contentyType for the same.
response.setContentType("application/vnd.ms-excel");
I am facing some issue in the format of data when the data get displayed in excel.
I have a data in format 000130068069. But in the excel file it shows as 130068069. I mean the zero's are getting trimed since excel uses the general format for the cell by default. Can I change the format of cell to text while displaying data in excelsheet.
Please let me know how can I achieve this
Thank in advance
Shaji
Hi Shaji,
I am not sure whether that would work, but you could check the format of the data with the csv file extract. Also check the raw xml to see if MII has already trimmed the leading zeroes before you do any processing with the jsp.
Regards, Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.