This is a migrated thread and some comments may be shown as answers.

Import Example

3 Answers 582 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 12 Jan 2016, 05:13 PM

Having issues recreating the demo example of importing a spreadsheet.  The demo references a saveUrl and I cannot determine what that is used for.

In addition, I tried the Dojo example of the fromFile method and could not get it to work.  When I select a file, nothing happens.  Is the change event not getting fired?

I am using Chrome as my browser.  Any help would be appreciated.  Basically trying to load a simple Excel file into the spreadsheet widget.

 

Thanks, Rick

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 15 Jan 2016, 09:11 AM
Hello,

The saveUrl is not used during import. Its purpose is to provide means to older browsers to save binary files.
Newer browser do this without the need for a round-trip to the server.

The runnable demo for fromFile in the API docs seems to work for me.
How does it differ from you scenario?

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Kanch
Top achievements
Rank 1
answered on 05 Feb 2016, 09:47 AM

Related to the original post, we are having the same issue recreatig this spreadsheet import demo.

We are attempting to import *.csv and *.xlsx files. Demo supports both.
We tried following two examples on Dojo and nothing happens when a file is imported.
http://docs.telerik.com/kendo-ui/api/javascript/ui/spreadsheet#methods-fromFile
http://demos.telerik.com/kendo-ui/spreadsheet/server-side-import-export
I have attached the two sample spreadsheets (csv and xlsx files) we we tested.
A solution would be appreciated.

Regards,
K. de Silva

0
T. Tsonev
Telerik team
answered on 09 Feb 2016, 12:38 PM
Hi Mr De Silva,

I'd like to ask you to continue the discussion in the related support thread.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Spreadsheet
Asked by
Rick
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Kanch
Top achievements
Rank 1
Share this question
or