Facility Control

 View Only
  • 1.  Table Questions

    Posted 12-07-2024 16:17

    Is it possible to have  a CR/LF for new rows within a column of a table where the table is being populated from a CSV file? The only multi-row things I've seen is under the Text Entry items.

    Thanks



    ------------------------------
    JerryB
    ------------------------------


  • 2.  RE: Table Questions

    Posted 12-10-2024 15:36
      |   view attached

    Hi Jerry,

    There isn't a built-in mechanism to achieve that. However, you can pass a callback function that, after reading a CSV file, parses the data according to your needs and how your CSV is set up. I've attached a zipped panel that demonstrates how to parse the data and add a new row within the same column.

    This is what I assumed what the csv would look like:

    Column1,Column2,Column3
    Row1Col1,"Row1
    Col2",Row1Col3
    Row2Col1,Row2Col2,Row2Col3





    ------------------------------
    Cheers,

    Aury Rukazana
    Senior Software Developer
    Ross Video
    ------------------------------

    Attachment(s)

    zip
    Reading a CSV File.zip   1 KB 1 version


  • 3.  RE: Table Questions

    Posted 12-10-2024 16:39

    Thanks - it looks like this will do the trick!



    ------------------------------
    JerryB
    ------------------------------