You need use : <p:columns> {…} </p:columns> Full Example: <p:dataTable id=”resultadosTabela” scrollWidth=”1200px” var=”s” value=”#{timeLineController.selectSeasonals}” scrollable=”true” frozenColumns=”1″ resizableColumns=”true”> <p:column headerText=”Seasonals’]}”> <p:outputLabel … More
Tag: primefaces
JavaServer Faces: How to print the size of a list ?
If you are using a datatable or any other component of Primefaces or JSF and want to print the size of … More
Primefaces : How to create a autocomplete component that save new objects when don’t find it ?
This code is a autocomplete component and works in this way : User try to find some example with part … More
Primefaces : The commandLink, commandButton, nothing was invoking my actions or my actionListeners in the backend. It happens only when I call inside of the my tree or treeTable . How resolve this ?
It’s easy ! You need set true the attribute expand of the yours nodes and parents. Example : public TreeNode … More
JavaServer Faces : java.lang.IllegalStateException: Component ID has already been found in the view. How resolve ?
Firstly you really need validate your code, because this error says that you have two components with the same ID … More
Primefaces : How call window refresh in a component event ?
Some times nothing works very well when you are programming with jsf and primefaces, so you decide call a function … More