-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sheet: Data Exporter support #1156
Comments
I think this is a good suggestion. Let me investigate this. |
This will be tougher than I thought as the Exporter component was not expecting exporters defined outside of PF. See Right now its expecting the types to be declared there. protected Class<? extends UIComponent> guessTargetClass(List<UIComponent> targets) {
Class<? extends UIComponent> targetClass = null;
if (targets != null) {
for (UIComponent current : targets) {
if (current instanceof DataTable) {
targetClass = DataTable.class;
}
else if (current instanceof TreeTable) {
targetClass = TreeTable.class;
}
}
}
return targetClass;
} |
I think this can be fixed now with the latest changes in core PF allowing more pluggable exporters |
Describe the feature you would like to see added
I would like to use data export for sheet like how primefaces datatable support. Currently there is no component to export data for sheet table.
Additional context
https://stackoverflow.com/questions/76032572/data-exporter-for-primefaces-extensions-sheet
The text was updated successfully, but these errors were encountered: