I need to set different headers for child-level data. I am using PrimengTreeTable with Angular 8. Parent records can have an nth level child. For every level I want different headers to be shown. It's like showing a different table at every level. Please help me out with this.
You can use *ngIF
to control. When you expand row, trigger an event that activate the ngIF
make the column visible.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.