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
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
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.