Ajax PFS selector alters panelGrid table layout #4680
-
|
We are using a p:panelGrid and wish to update a single row. The row has an ID and a styleClass attribute. We reference it using a PFS selector in an ajax update. Example: update="@(tr.updateStyleClass)". Before the update the TR and TD elements for the corresponding row are rendered correctly. After the update, the TR and TD elements are removed and just the content under the TD elements is in the DOM. I am not sure if I am just using the PFS selectors wrong, or this is a bug. The documentation states "manually defined ids won't be referenced directly", but you can clearly see in the ajax response, the row's client id is being referenced. PrimeFaces Test example: https://github.com/koan00/primefaces-test/tree/ft/panelgrid_ajax_update |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
updating a single row is not possible, that are rendered by panelGrid. |
Beta Was this translation helpful? Give feedback.
updating a single row is not possible, that are rendered by panelGrid.
You may be able to place a p:outputPanel inside the row and update this