AngularJS: How to export ui-grid data to excel with custom HTML?

跟風遠走 提交于 2020-01-15 07:16:15

问题


related to this link:

AngularJS: How to export ui-grid data to excel?

I like this answer but if I have a custom HTMl in grid for example chart :

https://plnkr.co/edit/irskqERheTOiFql82QFC?p=preview

  $scope.gridOptions.columnDefs = [
    { field:'name' },
    { field:'gender' },
    { field: 'spark', cellTemplate: 'sparkline-cell.html', width: 100 }
  ];

how can I export this cells to Excel.

来源:https://stackoverflow.com/questions/44158461/angularjs-how-to-export-ui-grid-data-to-excel-with-custom-html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!