I have a Primefaces (5.0) Datatable with dynamic columns as well as dynamic rows. In brief, my problem is how do I set it up so that the cells of the first row are a series of i
Since you asked you want only the 1st row is editable, I have asked you to use rowIndexVar to manage the rows.
You can use p:dataTable's rowIndexVar attribute.
rowIndexVar is Name of iterator to refer each row index.
Whose iterator name can be used in EL to get the Row Id
For example: if rowIndexVar="row" then you can access each row Index using that iterator name in EL using #{row}.
Example Code:
....