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?
Related
I am making datatable in JSF using (dataTable tag).
I am having several rows in that with check box( selectBooleanCheckbox ) in front of every record.
I have commandLink button for selecting all check box and deselected all check box..
i am trying to select/unselect all checkboxes in the datatable using a single commandLink. As I am trying to set it on the server, I am unable to do so. I have looked around for solutions but could not get how to accomplish on the server side.
thnks
How can I make the Primefaces p:dataTable selection Enable or Disable or Multiple or Single dynamically based on some condition.
There is disabledSelection attribute of p:dataTable in PrimeFaces 5+. Using this attribute with proper data table update, enable/disable row selection can be reached.
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 ...:)
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
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.