Skip to content

DataExporter for DataTable with columnToggler and visibleOnly exports all column in XML format #14103

@majkers

Description

@majkers

Describe the bug

Like I said in discord channel. When exporting data from DataTable with columnToggler and visibleOnly set to true, only PDF and XLSX options work correctly. XML version exports all column ignoring visible option.

Reproducer

  1. Open reproducer
  2. Click XML button
  3. Click eg. PDF button and compare results

Reproducer:

primefaces-test.zip

Expected behavior

XMl exporter should not ignore visible option

PrimeFaces edition

Community

PrimeFaces version

15.0.6

Theme

n/a

JSF implementation

Mojarra

JSF version

2.3

Java version

21

Browser(s)

All

Metadata

Metadata

Assignees

Labels

🐞 defectBug...Something isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions