We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

UpdateData() Works One Time

Answered
John W asked on March 1, 2019

I am trying to use updateData() with a csv datasource.  It works the first time I call updateData(), but not after that.  You can see this problem using your JsFiddle.  Make sure you click the "Update Data From CSV" button twice in a row.  It will work the first time, but not after that.
http://jsfiddle.net/flexmonster/xf5rn80j/
 

1 answer

Public
Tanya Gryshko Tanya Gryshko Flexmonster March 1, 2019

Hello, John,
Thank you for writing to us.

We would like to inform you that when the filename is the same, the file is not reloaded. To force the update of the data we suggest adding a timestamp as a parameter to the filename in the following way: data.csv?timestamp

Hope it helps.
Regards,
Tanya

Please login or Register to Submit Answer