I'm trying to use a datatable with Primeelements. All is fine except that I'm not able to make the columns editable.
Without primeelements it works fine.
Here's my code:
Code: Select all
<p-datatable datasource="/get_data" editmode="cell">
<p-column field="vin" headertext="Vin" editor='input'></p-column>
<p-column field="year" headertext="Year" editor='input'></p-column>
<p-column field="brand" headertext="Brand" editor='input'></p-column>
<p-column field="color" headertext="Color" editor='input'></p-column>
</p-datatable>
Thanks