Primefaces row grouping for repeated values - jsf

Is primefaces able to group rows dynamically in a dataTable like icefaces does?
<ice:column groupOn="#{employee.region}">...<ice:column>
<ice:column groupOn="#{employee.office}">...<ice:column>
Unfortunately expansible row grouping does not fit to me!

In PrimeFaces before 6.0.11 this is not possible. In 6.0.11 or 6.1 and up it works. It was implemented as a feature request: https://github.com/primefaces/primefaces/issues/39

Related

How to make certain column in primefaces datatable to be dragable

I need dragable feature to be applied on certain columns of the datatable. As of now when we use dragable datatable its applied to all columns. Can anyone have any idea how to achieve this.

Editable TreeTable in PrimeFaces

I have a project where I use the PrimeFaces Framework. Now I need an tree-organized table, where the cells are editable. I've found an example with OpenFaces, that is exactly what I need:
http://openfaces.org/demo/treetable/TreeTable_selectionAndKeyboard.jsf
is it possible to make that in PrimeFaces?

Moving the selected rows from one DataTable to Other inPrimeFaces 3.2

I'm new to PrimeFaces. In my project, I have a requirement to show 2 tables where user can select the rows and move to other datatable. In order to achieve this, can I use PickList component? If so, does it allow me show data with multiple columns. Any reference example is appreciated.
i dont think you need to use picklist. you can acheive this using primefaces drag and drop.
check it here
Drag and Drop components have special integration with data components. you can integrate drag and drop components with your datatable.
lemme know if this helps ...:)

richfaces datatable row configuration

I am using rich faces data table tag in my jsf:
<r:dataTable id="dataTable" var="user" preserveDataModel="false"
value="#{ListUsersManagedBean.users}" rows="10"
rowId="#{user.firstName}" rowKeyVar="index"
width="500" style="float:centre" reRender="ds" columnClasses="center">
Here i have configured rowsize as 10 in static way.I want to give the user a dropdown in the table so he can select number of rows 100,200,300,400 etc below the column.How can i do this.Or any better solution?
Thanks
You can do that by binding a variable to rows like rows = #{yourBean.noOfRows} and same to the combo box, and reRender your datatable onChange of comboBox.
This can be done if you are strict to use <rich:dataTable> or you can use jQuery datatable easy to integrate and easy to use for the functionality you need.

Richfaces ExtendedDataTable customization of groupings output

I'm looking to implement the ExtendedDataTable component in Richfaces.
When selecting the 'Group by' on a column, I would like to have a 'Select all' option displayed on each grouping row. This would select/un-select all checkboxes under this grouping.
I dont think there is any quick easy solution to this?
Would I need to extend the ExtendedDataTable base class somehow to add this functionality?
Edit: I got this response from the Richfaces team.
Has anybody created their own ExtendedDataTable based on the ExtendedDataTable implementation?
Is it difficult? Time consuming?
Even if somebody created a custom DataTable or other component, could you offer some advice or tips?
Here are the component creation documents.

Resources