Export Data from kendo angularjs grid to text file using AngularJS [Resolved]

Posted by Kasani007 under AngularJS 1x on 8/25/2016 | Points: 10 | Views : 2117 | Status : [Member] | Replies : 1
Export Data or Download Data from kendo angularjs grid to text file by Button click event using AngularJS




Responses

Posted by: Rajnilari2015 on: 8/26/2016 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 50

Up
0
Down

Resolved
Try this

<script>
var dataURI = "data:text/plain;base64," + kendo.util.encodeBase64("Hello World!");
kendo.saveAs({
dataURI: dataURI,
fileName: "test.txt"
});
</script>

from http://docs.telerik.com/kendo-ui/framework/save-files/introduction
Hope that helps

--
Thanks & Regards,
RNA Team

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response