I'm using an expandable primeng table to represent some data that returns from an api. I want all the rows in the table to be expanded by default. Going though documentation I came across expandedRowKeys feature, but I really dont want to run a foreach loop on my ts file. Is there anyway I can set all the rows to be expanded by default in template
2.1m questions
2.1m answers
60 comments
57.0k users