question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DataTable: exports do not work with field

See original GitHub issue

@melloware @Rapster The datatable exporter seems not work with the new column field attribute notation if i have not missed any additionally required adaptations.

Just add the following column to /showcase/ui/data/dataexporter/basic.xhtml to verify:

                  <p:column
                    field="code"
                    headerText="CodeNew"/>

The exporter delivers empty fields for such a column.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
tuerkercommented, Jan 25, 2021

great. now it works. many thanks.

1reaction
tuerkercommented, Jan 25, 2021

before the fix, all exports were working but only the columns using the field notation were empty. now, it is really “broken”.

i will try to find out when it is not working and to come with a reproducer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exclude column from export in jQuery Datatables
Exclude column from export in jQuery Datatables ... I'm using jQuery datatable 1.10.11 and it's export button functionality as described here: I ...
Read more >
Export columns are not as expected — DataTables forums
I desire to export only visible .excel columns. I was thinking that I could use the .on('column-visibility.dt' to modify the class to something ......
Read more >
Export options - column selector - DataTables example
The exportOptions.columns option of the print button provides the ability to select only certain columns (using a column-selector ). In this example only ......
Read more >
Column selectors - DataTables example
Column selectors. All of the data export buttons have an exportOptions option which can be used to specify information about what data should...
Read more >
Format output data - export options - DataTables example
Formatting functions for export buttons are specified by assigning a function to one (or more) of the format object of the exportOptions object....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found