title | description | type | page_title | slug | tags | ticketid | res_type | category |
---|---|---|---|---|---|---|---|---|
Export Expanded Rows Data from TreeList to Excel |
An example of exporting the expanded rows of a TreeList to Excel without needing to expand them manually. |
how-to |
Export Expanded Rows Data from TreeList to Excel - Kendo UI Vue Native TreeList |
excel-export-treelist-expanded-rows |
export, excel, treelist, expand |
1666953 |
kb |
knowledge-base |
Product Version | 6.0.1 |
Product | Progress® Kendo UI for Vue Native TreeList |
Currently, I need to manually expand the rows to include the child rows in the exported Excel file. How can I have the rows automatically expand for the ExcelExport
automatically when exporting?
This can be achieved by using the [mapTree]({% slug api_treelist_maptree %}#mapTree) function to expand the TreeList rows and then passing the data to the ExcelExport
.
{% meta height:760 %} {% embed_file excel-export-treelist-expanded-rows/main.vue preview %} {% embed_file excel-export-treelist-expanded-rows/main.js %} {% embed_file excel-export-treelist-expanded-rows/data.js %} {% endmeta %}