Questions tagged [primefaces-datatable]

PrimeFaces p:dataTable component related questions

Showcase:

Documentation:

144 questions
0
votes
1 answer

How to update and show number of records in p:dataTable after filter?

After filtering of primefaces 'tasksDataTable', the 'number of records' does not update. For example before filtering number of records is 45, and by filtering table i get 3 records as result. But 'number of records' is already 45 (i expect to show…
SM. Hosseini
  • 171
  • 1
  • 13
0
votes
0 answers

LazyDataModel initial load called multiple times

I have this datatable which I implemented with Primefaces's LazyDataModel. Everything works fine except for the initial load when I open the page for the first time or refresh. The load method get called 6-7 times. When I change page, filter or sort…
Ayoub Rossi
  • 410
  • 5
  • 18
0
votes
1 answer

Can I have both both radio selection and row selection in a p:dataTable

I have a p:dataTable which needs to have both radio selection and row selection. In primefaces.org/showcase we have checkbox and row selection but with multiple selection and only row selection and only radiobutton selection. Below is my…
Varma GRK
  • 67
  • 1
  • 6
0
votes
0 answers
0
votes
0 answers

Cancel export process in Primefaces datatable at preProcessor stage

I have a simple datatable which I'm exporting and I need to decide at preProcessor stage if the export should continue depending on whether there is another export currently running or not (it's a 30000 records table and two concurrent exports just…
0
votes
0 answers

Filtering and clearfilter() with primefaces datatable

I have a datatable and on "rowselect", another datatble gets populated on the screen . e.g, if I select an employee another datatable with all the records for the employee gets displayed. If I do some filtering on the second datatable, it works…
user2101
  • 145
  • 1
  • 11
0
votes
1 answer

How to "Highlight Selected Row" with custom color based on condition' in primefaces

I have give rowStyle based on condition. This datatable also has selection (check-box) option. rowStyleClass="#{condt ? myStyle : null}" I would like to retain the custom style that is applied on the row, even when it is selected (i.e., check-box…
Teela
  • 153
  • 1
  • 3
  • 9
0
votes
1 answer

p:dataTable rowEdit Ajax event not calling

I am new in this StackOverflow community. I am having a problem that the PrimeFaces data table rowEdit Ajax event is not calling whenever I click on the pencil. I know that there are so many questions in this community, I tried each and every…
0
votes
0 answers

Show filter result size in footer of p:dataTable

I am using a datatable of PrimeFaces with a global filter. When I enter a filter, I want to refresh the number of rows in the filtered list displayed, but it does not work: update is triggered before filter() Thanks for your help. Here is my…
0
votes
1 answer

Primefaces datatable filter : set a filter from the xhtml page

I d like to create several xhtml pages using the same datatable with different filter. For example there would be a men.xhtml and women.xhtml page from and service call getHumans; I would like the filter to be automatically applied without typing it…
Jean
  • 601
  • 1
  • 10
  • 26
0
votes
0 answers

Primefaces dataTable populate (search) doesn't work well after filtering

I have a Primefaces dataTable like this in a block:
Coloco
  • 353
  • 4
  • 14
0
votes
1 answer

how to have more than one column of checkboxes in primefaces

I need to do a user permissions grid hopefully using a primefaces datatable. For each row: Column one is a class name, Column two is a checkbox for permission for one of two subclasses. Column three is a checkbox for permission for the other…
ttibbetts
  • 1
  • 1
  • 1
0
votes
0 answers

Primefaces datatable : can I add an object to the table

I'd like to add one line to a datatable. This line would be exactly the same kind of lines that the ones already in the datatable. In this example, my list of cars can't be changed. And I have an extra car to add at the first line.
Jean
  • 601
  • 1
  • 10
  • 26
0
votes
1 answer

Primefaces datatable used to display non updateable database view results?

Good day Is it possible (I seem to be stuck at not being able to click the 'tick' to accept a row edit) to use a Primefaces datatable to display the result of a non updateable Postgres view, but have custom code in the onRowEdit event that will…
Letholdrus
  • 1,261
  • 3
  • 20
  • 36
0
votes
0 answers

primefaces datatable don't refresh correctly with column toggler

Users just noticed a big bug in my datatable. When you use a datatable and a column toggler, unselecting a column just shift some rows, but it goes wrong when some cells are empty. So i tried to refresh my data table with `
coshikipix
  • 59
  • 1
  • 9
1 2 3
9
10