Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
539 views
in Technique[技术] by (71.8m points)

angular - Expanding all rows in primeng table by default

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

question from:https://stackoverflow.com/questions/65672060/expanding-all-rows-in-primeng-table-by-default

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...