This is a migrated thread and some comments may be shown as answers.
import data into the spreadsheet using the file path
1 Answer 61 Views
This is a migrated thread and some comments may be shown as answers.
Jack Y
Top achievements
Rank 1
Jack Y asked on 16 Oct 2017, 02:27 AM

I want to import the data into the spreadsheet using the file path in the kendo UI

 

But when I checked, I could not find a way to ask.

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 17 Oct 2017, 12:58 PM
Hello Jack,

You could not directly load a Workbook file to the Spreadsheet by simply specifying a path to it. You will need to first process the file on the server. Depending on the format in which you will send the file to the client you can either use:

- the fromFile() method (if you send the file as blob); or

- the fromJSON() (if you send only the Workbook data as JSON, following the Spreadsheet widget format).

Regards,
Veselin Tsvetanov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Jack Y
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or