I refer to the example on this page http://www.primefaces.org/showcase/ui/d ... olumns.jsf.
Why is it not possible to replace line 14-18 with the following code, as it is possible in datatables with static columns?
Code: Select all
<p:commandButton image="remove"
action="#{tableBean.removeColumn(column)}"
update="carsTable" title="Remove Column" style="float:right" />
Code: Select all
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("columnToRemove");
Do I overlook something?
Kind regards and thanks for your help!
Fabian