Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support
Resources
Design and Productivity Tools
How to export the grid with filters enabled? constructor() { this.allData = this.allData.bind(this); } ngOnInit() { this.getGridData(); } public allData(): ExcelExportData { const result: ExcelExportData = { data: process(this.products, {sort: [{ field: 'name', dir: 'asc' }] }).data }; return result; } getGridData(){ this.MyService.getDataGrid().subscribe(data => { data = JSON.parse(data);; this.products= data; this.gridData = process(data, this.state) }); }
How to export the grid with filters enabled?
constructor() { this.allData = this.allData.bind(this); } ngOnInit() { this.getGridData(); } public allData(): ExcelExportData { const result: ExcelExportData = { data: process(this.products, {sort: [{ field: 'name', dir: 'asc' }] }).data }; return result; } getGridData(){ this.MyService.getDataGrid().subscribe(data => { data = JSON.parse(data);; this.products= data; this.gridData = process(data, this.state) }); }
Hello Alex,
The default behaviour of the Grid is to export its current data. This includes the applied filters, so no custom modification will be needed in this case.
Regards, Dimiter Madjarov Progress Telerik
Тhe web is about to get a bit better!
The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.