Table expand all lines programmatically

UI Components for Angular
Post Reply
ronron
Posts: 3
Joined: 27 Aug 2018, 16:47

08 Nov 2018, 19:03

Hi,

is it possible to expand all lines in a table programmatically? F.e. by default all lines are expanded.

Kind regards,
Ron

HorseBadorties
Posts: 3
Joined: 10 Oct 2018, 09:55

08 Nov 2018, 21:38

Are you referring to p-table's rowexpansion option?
If so you would use it's [expandedRowKeys] bindeable property to programmatically expand certain rows (or all, for that matter).

Check this out.

ronron
Posts: 3
Joined: 27 Aug 2018, 16:47

09 Nov 2018, 07:56

Thank you. worked it out with the expandedRowKeys

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests