p:dataExporter selected rows only

后端 未结 2 1300
小蘑菇
小蘑菇 2020-12-21 11:14

I have a with the multiple selection checkbox. I want to export only some rows to my pdf. Right now when I try to export based on the select

相关标签:
2条回答
  • 2020-12-21 11:53

    Primefaces 5.2 not support generics(List<>), only Arrays ([]). It was fix on Primefaces 5.3.

    0 讨论(0)
  • 2020-12-21 12:04

    Thanks to my friend Sathish. I was able to find out a work around for this issue. I populate the selected values to a new datatable and export that data. Hence I get the correct values exported. I make rendered="false" for the second data table.

    0 讨论(0)
提交回复
热议问题