vue-json-csv icon indicating copy to clipboard operation
vue-json-csv copied to clipboard

advancedOptions do not seem to be used

Open nyneplus opened this issue 4 years ago • 1 comments

I have tried to use papa parse options like:

<download-csv
	class   = "btn btn-default"
	:data   = "results"  
       :advancedOptions ="{preview:2}"  
	name    = "planning.csv">

or as:

<download-csv  
	class   = "btn btn-default"  
	:data   = "results"  
       :advancedOptions ="opt"  
	name    = "planning.csv">  
(...)  
data :()=>({  
    opt:{preview:2}  
})

But it does not break after 2 lines. How should i use these advancedOptions?

nyneplus avatar Apr 01 '21 09:04 nyneplus

Because the links in the documentation are misleading,He is showing the config of the method parse, not unparse The correct link is here, and there is no complete or error callback in this config. @Belphemur hey dude,Can you modify it pls ?

MuLoo avatar Apr 28 '21 08:04 MuLoo