DataTable collapse all Groups at start

UI Components for JSF
Post Reply
vitalij.kochno
Posts: 15
Joined: 10 Feb 2017, 16:09

17 Feb 2017, 01:39

Hello,

im using p:datatable with the expandableRowGroups-tag to create expandable rows.

But i need them to be collapsed at the start. Is there a way?

Thanks!
using PF 11.0.4 / Tomcat v.7.0

vitalij.kochno
Posts: 15
Joined: 10 Feb 2017, 16:09

20 Feb 2017, 17:57

i found this :
http://forum.primefaces.org/viewtopic.php?f=3&t=8537

but only the icons are changing , the rows are still expanded

i also tried to change div.ui-row-toggler to a.ui.row-toggler
using PF 11.0.4 / Tomcat v.7.0

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

11 Jul 2020, 13:30

See here using Jquery; viewtopic.php?f=3&t=8537&start=10
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests