Questions tagged [primefaces-datatable]

PrimeFaces p:dataTable component related questions

Showcase:

Documentation:

144 questions
1
vote
1 answer

When nesting another datatable in rowexpansion, splitbutton stops working when 2 or more main rows are loaded

So I'm trying to nest a datatable within another datatable in the rowexpansion tag as follows:
SergioBrito
  • 73
  • 1
  • 9
1
vote
0 answers

Cannot edit value after filter in primefaces datatable

I have a datatable in primefaces having filtering capability, Every row is also having checkboxes. When I filter the values, and change checkbox value, then press save button, the changed value does not appear in the backend when I print them. My…
Imran Khurram
  • 377
  • 8
  • 18
1
vote
1 answer

how to freeze columns of my choice in prime Faces data table?

I search many of sites but I didn't get how to freeze the first two columns and last two columns in prime faces data Table it has option of frozenColumn="i" but in this we can freeze only sequentially. for example i=2 will freeze first 2 columns…
1
vote
2 answers

How can used with primefaces datatable rowExpansion

can be used in primefaces datatable rowExpansion? I tried
zyydoosh
  • 387
  • 2
  • 14
1
vote
0 answers

Problems after using Primefaces filter

I have a datatable where one of the columns is editable. As long as i dont use my filter i can navigate through my list and can edit the entry in any row i want. I dont get any errors and my changes are persisted in the DB correctly. But after i…
Josef
  • 77
  • 8
1
vote
0 answers

Expanded SelectOneMenu holds position while scrolling the DataTable

I have a problem with p:selectOneMenu component, which is rendered into p:dataTable. In fact, the table contains such a component in every row. The table isn't placed in the dialog. It does not take up the entire page height, it is scrollable. When…
szysza
  • 15
  • 3
1
vote
1 answer

Filtering for value not equal with FilterMeta

I'm trying to migrate a Primefaces Datatable to lazy loading, but I'm finding some problems filtering. With the non-lazy Datatable, filtering just consisted in loading all values from database to some ArrayList, and then filtering them however I…
jesjimher
  • 1,175
  • 1
  • 12
  • 17
1
vote
2 answers

How to hide some column in columns tag in primefaces?

I have a table which I want to hide particular column as below. For example, I want to hide 3 last columns under the tag
itro
  • 7,006
  • 27
  • 78
  • 121
1
vote
1 answer

record not updating with primefaces 6.2

I have a simple crud application. it can currently fetch record from a list and display it in a datatable. I am trying to use a modal dialog to update selected record. However updating any of the records don't work. I have tried several suggested…
1
vote
0 answers

is called in spite of rendered=false

I am wondering about the following behaviour of . Hopefully you can explain it and tell me how to avoid it. The backing bean method is called even though the corresponding component is not rendered.
1
vote
1 answer

Prime faces table row expansion default value

I have table with multiple rows inside form. The table has rowexpansion tag which is in non expanded mode by default. The rowexpansion has panel containing multiple input elements like redio button ,text field. Input fileds has default values. By…
user530158
  • 333
  • 7
  • 18
1
vote
1 answer

How to partially split each row of a Primefaces datatable?

The problem I have is the following: I have a datatable with a list of the class Producto, which internally consists of several fields of simple type and 2 objects of type Proveedor. Categoria and TipoProveedor are enums. public class Producto { …
MrCode
  • 23
  • 6
1
vote
1 answer

Primefaces p:datatable sortBy not working properly

I have pre-made views displayed on my website. The data query is done via Hibernate from a DB2 database and is displayed with JSF. The whole thing runs on a local JBoss server. This is the logical bean behind the HTML: @Named(value =…
Arthur Hej
  • 23
  • 5
1
vote
1 answer

Reorder Primefaces DataTable onclick

I want to perform a row switch onclick, like in example below. The only way primefaces allow swapping rows is make them draggable, which is not an option to me. Poked it for about a day, no luck. I would appreciate any assistance, thanks! PF version…
1 2
3
9 10