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

Export to Json

1 Answer 258 Views
Grid
This is a migrated thread and some comments may be shown as answers.
SARAVANA KUMAR
Top achievements
Rank 1
SARAVANA KUMAR asked on 11 Jan 2017, 05:21 AM

Hi,

    Is there any possibility of exporting the radgrid to JSON file. If yes please let me know how to do it. Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 13 Jan 2017, 05:17 PM
Hello Saravana Kumar,

There is no JSON export, but you could get the stringified datasource from the Grid widget.
Something like this:
JSON.stringify($("#grid").data("kendoGrid").dataSource.data())

Regards,
Daniel
Telerik by Progress
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.
Tags
Grid
Asked by
SARAVANA KUMAR
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or