1 Reply Latest reply: May 25, 2013 2:54 PM by rp0428 RSS

    How to set column width in csv file using java code

    1010964
      Hi, Can someone please help on how to set the columnwidth in csv file using javacode.

      I used FileWriter class to upload data into the csv file but csv file is taking default width while showing content. Is there a way to set the fixed column width or set width dinamically based on value?


      Thanks,
      Swapna

      Edited by: 1007961 on May 25, 2013 9:44 AM
        • 1. Re: How to set column width in csv file using java code
          rp0428
          >
          Hi, Can someone please help on how to set the columnwidth in csv file using javacode.

          I used FileWriter class to upload data into the csv file but csv file is taking default width while showing content. Is there a way to set the fixed column width or set width dinamically based on value?
          >
          The fields in CSV (Comma-Separated-Value) files are separated by commas; they do not have a fixed width.