Příspěvky

Responsive DevExtreme DataGrid for Mobile: One Grid, Two Row Layouts

Obrázek
A wide transaction table can work well on a desktop and become frustrating on a phone. Horizontal scrolling keeps every column available, but readers must move back and forth to understand one record. For our bank transaction review screen in Billy, we wanted a detailed table on wider screens and a compact, read-only card on narrow screens. The key idea is to keep one dx-data-grid and change its data-row template when available space changes. That keeps one grid instance and one data source responsible for search, filtering, sorting, paging, and remote requests. Wide layout: a detailed table when there is room for columns. AI-generated illustration. Use a data row template on narrow screens DevExtreme DataGrid provides dataRowTemplate for custom data rows. In Angular, the template receives a row object, with the record in item.data . Bind a named template to a responsive state: <section [class.transaction-grid--compact]="compact()"> <dx-data-grid [dataSource]...

Firebase Push Notifications in Capacitor Angular Apps: The Complete Implementation Guide

Published:   February 16, 2026 Author:   Václav Švára Generated with assistance from:   Claude (Anthropic AI) Table of Contents Introduction Architecture Overview Prerequisites Firebase Project Setup iOS Configuration The APNs Certificate vs Authentication Key Dilemma Creating APNs Certificates iOS Native Implementation Android Configuration Angular Service Implementation Backend Integration Testing Push Notifications Common Issues and Solutions Production Considerations Conclusion Introduction Push notifications are essential for modern mobile applications, enabling real-time communication with users even when the app isn't running. However, implementing Firebase Cloud Messaging (FCM) in a Capacitor Angular application involves navigating platform-specific requirements, native code integration, and several potential pitfalls. This guide provides a complete, production-ready implementation of Firebase push notifications for Capacitor Angular apps, covering both iOS and An...