Questions tagged [primefaces-datatable]

PrimeFaces p:dataTable component related questions

Showcase:

Documentation:

144 questions
0
votes
0 answers

Primefaces 10 datatable rowkey selection is not clearing with new row selection

This functionality was working in PF8 but after upgrading to PF10 it is now broken Scenario as follows: I have a main single selection datatable(Table 1, ekeys). I have a secondary multi selection datatable(Table 2, groupsTable) that displays a list…
0
votes
0 answers

Primefaces paginator selected button is not changing

So when Im trying to click 25 or 50, that amount of rows is displayed but selected button is still 12, what can be wrong?
0
votes
0 answers

filtered data disappear after update the value of it in primefaces datatable?

I'm trying to edit the retrieved data after filtering, once I cancelled/update the value of the returned value the edited/cancelled row values are disappeared and are not updated, only on the filtered data in the datatable in primefaces 10 please…
yasmin
  • 5
  • 2
0
votes
1 answer

Ajax event in pagination with Primefaces dataTable not working

I have a "normal" paging with a dataTable. The first "load" brings in 25 items from the database. In the ajax "page" event I am bringing the following elements in blocks of 25 items. Everything works perfectly with version 5.1 of Primefaces, but in…
Jose
  • 71
  • 7
0
votes
0 answers

Primefaces DataTable - reflow is not working on iOS

Primefaces DataTable reflow is not working on iOS. Has anyone got this issue and found a workaround? Please assist. However its the same issue on GitHub. https://github.com/primefaces/primefaces/issues/1568#issuecomment-901261646
Anurag Singh
  • 93
  • 1
  • 7
0
votes
1 answer

Why filters are becoming null after sorting any field Prime Faces data table with lazy loading?

I searched many question and many and tried out many things. Below I have snippet steps to produce issue. first apply a filter value any column then apply a sort to any column filter value present at table interface but at load method…
0
votes
0 answers

Update Datatable and Messages When Dialog Closes in Primefaces

I have a relatively simple datatable that contains a list of requests. I have command buttons for approval and rejection and a messages section at top to provide feedback. For the approvals I simply process everything and refresh the datatable and…
Jameson_uk
  • 432
  • 2
  • 12
0
votes
0 answers

Primefaces datatable sortBy doesn't work after filterBy

I'm encountering a strange behaviour of filterBy and sortBy in Primefaces, where filterBy itself works fine and also sortBy itself works fine. I'm even able to sort the datatable by one column and filter afterwards. But I'm not able to filter first…
Naryxus
  • 55
  • 1
  • 6
0
votes
1 answer

Primefaces Data Table actionListener for inline cell editing

How do I execute code when the user clicks a cell in a data table? Similarly to listener and actionListener on a p:commandButton. For example
jeff
  • 3,618
  • 9
  • 48
  • 101
0
votes
1 answer

Primefaces datatable reload not working after adding new data

I'm using Primefaces datatable for my webapp and i want to reload the datatables after I reload not working after i click to add new data, I don't know…
muhkanda
  • 319
  • 1
  • 9
0
votes
0 answers

Rendering Primefaces column filter values set in preRenderComponent

I set some initial Filters in my lazyDataModel preRenderComponent-Method. Filtering work as expected, but the values are not shown in the column filters in the browser. What must i do to achieve this? public abstract class…
sws
  • 1
  • 5
0
votes
0 answers

p:datatable performance issue - jsf primefaces

I am using in UI to display the records using jsf. I am trying to add rows to the data table on click of Add button. On click of Add button, I am updating the list in the backing bean which in turn updates the datatable in UI with an…
0
votes
0 answers

input text in datatable row expansion returning null value primefaces

I'm showing my database's data in datatable. In the row expansion, I'm setting some values and saving them to the database. I have an input text in row expansion, when I submit the the form the input text's value returning null in my backing…
demir5334
  • 215
  • 7
  • 17
0
votes
0 answers

Couldn't access input text value from bean at datatable row expansion

I'm using datatable row expansion in my project. I have one main panelgrid in and I have a few panelgrid in main panelgrid. I'm getting input texts -which are in main panelgrid- values correctly to the bean. But I couldn't get other…
demir5334
  • 215
  • 7
  • 17
0
votes
1 answer

How to update p:dataTable in p:rowExpansion

In my project, I have intertwined 2 datatables. I want to update second datatable when first datatable's rows expanded.
demir5334
  • 215
  • 7
  • 17