Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Expose processedData in DataTable#8181

Merged
melloware merged 2 commits into
primefaces:masterfrom
makeeno:master
Aug 2, 2025
Merged

Expose processedData in DataTable#8181
melloware merged 2 commits into
primefaces:masterfrom
makeeno:master

Conversation

@makeeno

@makeeno makeeno commented Jul 30, 2025

Copy link
Copy Markdown
Contributor

This PR exposes the processedData() method in the DataTable component.

The purpose of this change is to enable the implementation of custom export functionality that respects the currently applied filters. Currently, the built-in exportCSV() method uses processedData() internally to retrieve filtered and sorted data. By making this method accessible, custom exporters can achieve the same behavior and maintain consistency with the built-in export logic.

Old but still relevant discussion here: https://github.com/orgs/primefaces/discussions/23

@github-actions

Copy link
Copy Markdown

Thanks a lot for your contribution! But, PR does not seem to be linked to any issues. Please manually link to an issue or mention it in the description using #<issue_id>.

1 similar comment
@github-actions

Copy link
Copy Markdown

Thanks a lot for your contribution! But, PR does not seem to be linked to any issues. Please manually link to an issue or mention it in the description using #<issue_id>.

@melloware

Copy link
Copy Markdown
Member

I am not sure this is the best name for the exposed method? I am trying to think of a better one but can't!

@melloware melloware merged commit 99d132f into primefaces:master Aug 2, 2025
2 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants