Example :
data -> 06516
improt to csv result -> 6516
Exporting to a CSV with leading zeros works here: http://live.datatables.net/secihidi/1/edit
Here is the table:
<tr> <td>Tiger Nixon</td> <td>01234</td> </tr> <tr> <td>Garrett Winters</td> <td>5768</td> </tr>
Here is the resulting file:
"Name","Value" "Garrett Winters","5768" "Tiger Nixon","01234"
Are you opening the CSV in a text editor or Excel?
Please update my test case to replicate your issue.
Kevin
I tried the two text editor and csv. but does not work.
Thank you sir kthorngrenkthorngren it worked..
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Exporting to a CSV with leading zeros works here:
http://live.datatables.net/secihidi/1/edit
Here is the table:
Here is the resulting file:
Are you opening the CSV in a text editor or Excel?
Please update my test case to replicate your issue.
Kevin
I tried the two text editor and csv. but does not work.
Thank you sir kthorngrenkthorngren it worked..