DataTable Sorting Events

UI Components for JSF
Post Reply
smcauliffe
Posts: 1
Joined: 12 Apr 2011, 21:46

12 Apr 2011, 22:10

We are currently using a pair of tables, one of which displays category data, and the other summary. Selecting row(s) in the category table lets us filter the displayed rows in summary table, but if the user sorts the category table it doesn't trigger an update on the summary filter and retains it's previously filtered state.

After going through the primefaces source, it appears there isn't any sort event that we can listen for, both from the client and server side. I've added a sort event that was modeled off the existing selection events and it appears to resolve the issue I described above. Of course, if someone else has an alternative means to accomplish the same goal without modifying primefaces source, I'd be most appreciative.

Thanks,

Sean

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests