Grid produces empty CSV files

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
brianhd71
Profound User
Posts: 36
Joined: Thu Jan 02, 2014 6:20 pm
First Name: Brian
Last Name: Lannoye
Company Name: Dealertrack Technologies
Phone: 801.617.1806
State / Province: Utah
Zip / Postal Code: 84095
Country: United States
Contact:

Grid produces empty CSV files

Post by brianhd71 »

I converted an app to profound UI and it works well, but when I add csv export to the grid, I get an empty file. To get around it I created a new grid, moved all of the fields to it and got it to work that way.
Attachments
json.txt
(25.81 KiB) Downloaded 67 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Grid produces empty CSV files

Post by Scott Klement »

Hi Brian,

The subfile grid in your example has only one column. (You have multiple fields in that column.) Load the display file in the designer, select the subfile widget, and look at the "number of columns" property, and you'll see that there's only one.

The CSV export tool will export the first field that's in a given grid column. In your case, that is the checkbox -- so, since you have only one column, all that's ever exported is that checkbox. Since the checkbox is unchecked in your example, it comes out as blank in the CSV export. So you get only one field, and it's always blank.

I'm guessing that when you moved this data to a different grid to solve the problem, you put each field in a separate column, and probably also eliminated the fold/drop feature. So that would've made this work quite a bit differently, but would've solved the problem with CSV export. Is that true?
brianhd71
Profound User
Posts: 36
Joined: Thu Jan 02, 2014 6:20 pm
First Name: Brian
Last Name: Lannoye
Company Name: Dealertrack Technologies
Phone: 801.617.1806
State / Province: Utah
Zip / Postal Code: 84095
Country: United States
Contact:

Re: Grid produces empty CSV files

Post by brianhd71 »

Yes, that's exactly what I did. That makes sense. The original grid was created on the enhanced theme conversion option.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests