import data into the spreadsheet using the file path

2 posts, 0 answers
  1. Jack Y
    Jack Y avatar
    1 posts
    Member since:
    Sep 2017

    Posted 15 Oct 2017 Link to this post

    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.

  2. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    1234 posts

    Posted 17 Oct 2017 Link to this post

    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).

    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.
Back to Top