Import CSV file and loaded in a kerndo grid dynamically

2 posts, 0 answers
  1. Priyanka
    Priyanka avatar
    8 posts
    Member since:
    May 2017

    Posted 09 Jun 2017 Link to this post

    I'm new & I'm hoping there's some sample code to help jumpstart my work.  I need to upload a CSV & place it in a KendoGrid using MVC. If possible, from the Select button, and not show the input Text box, and not show the Remove option, since it should place the file contents straight into the grid & then delete the file.  I didn't see anything in the Code Library showing how to upload a CSV & place it in a grid, but it seems like someone must have done this before me.  Any guidance is appreciated.
  2. Stefan
    Admin
    Stefan avatar
    3009 posts

    Posted 13 Jun 2017 Link to this post

    Hello Priyanka,

    The Grid is managing the data using its dataSource, and the dataSource can receive data only in JSON, JSONP, or XML:

    http://docs.telerik.com/kendo-ui/framework/datasource/overview

    We had a similar request in the past, but it was declined, as in this scenario I suggest converting the data from CSV to one of the supported formats:

    http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback/suggestions/11324859-datasource-in-csv-format-for-grid

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 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