Questions tagged [primefaces-datatable]

PrimeFaces p:dataTable component related questions

Showcase:

Documentation:

144 questions
0
votes
1 answer

Sort Primefaces DataTable column with two Columns names in sortBy attribute

I would like to sort a dataTable which has column named "CustomerName" which needs to be sorted based on Customer's FirstName & LastName. So i'd like to pass value to sortBy attribute as shown…
Chaithanya RC
  • 75
  • 1
  • 11
0
votes
0 answers

Sorting lazy primefaces datable using database

I have huge records and so i am using primefaces lazyloading to fetch the records from database and display, I have implemented load method of lazyDataModel and pagination is working, but while sorting it is not able to sort it properly, my code is…
Amit
  • 1
  • 2
0
votes
0 answers

Primefaces Subtable to get row index

I am using PrimeFaces 6.0 in my project to dataTable inside subTable has to be used. I need how to get row index inside the subTable
msa
  • 11
  • 6
0
votes
0 answers

how to make one p:datatable column be an expanded treenode

I want to have a p:datatable which contains one column having a treenode in each cell. How should I implement this? I'm new to jsf/primefaces. Any example is really appreciated. Thanks for any help! col1 | …
Jess
  • 1
  • 2
0
votes
0 answers

Row edit event not updating new value in

I have been struggling for a few days now with Primefaces, DataTable not showing the new value after editing a row. I have searched a lot but couldn't get the solution. So anyone can help me out... Thanks Html code is
user6356580
0
votes
1 answer
0
votes
1 answer

PrimeFaces Datatable CellEditor - Different values for facet input and output

I have an editable DataTable for the entity User. This table has a field called username which has an unique constraint
0
votes
1 answer

Primefaces Datatable current row count is not updated correctly in the page after filtering

The following code does not update the current datatable row count correctly after applying filtering. Sometimes I have to hit the enter key twice in the filter input box after typing the text so the count is updated correctly. And sometimes it…
0
votes
1 answer

DataTable Columns Pagination Issue

Using the showcase example the Declarative p:dataTable with p:columns and pagination works. I would like to get this working in a programmatic way and on page load grid is shown with data. when i click on the pagination for programmatic , all the…
Ravi
  • 391
  • 2
  • 18
1 2 3
9
10