Import Example

4 posts, 0 answers
  1. Rick
    Rick avatar
    1 posts
    Member since:
    Feb 2014

    Posted 12 Jan Link to this post

    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

  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2771 posts

    Posted 15 Jan Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Kanch
    Kanch avatar
    1 posts
    Member since:
    Oct 2015

    Posted 05 Feb in reply to T. Tsonev Link to this post

    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

  5. T. Tsonev
    Admin
    T. Tsonev avatar
    2771 posts

    Posted 09 Feb Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready