Sometimes it can be desirable to lock or enable editing not on the complete column of a table but on individual cells.
Do you mean like the first datatable at;
http://www.primefaces.org/showcase/ui/data/datatable/edit.xhtml
No, not quite. Using the first table you're refering to there would be a mechanism to switch editing for individual cells. This could be based on either cell content itself or on some auxiliary data structure. Each data row would have to supply the information whether a specific value inside that row should be editable or not.
I realize this sounds complicated, but in the end it's an extension to the current format where table and column need the editable flag. The same would go for rows in *ngFor structures, possibly like this:
<p-dataTable [(value)]="limitsData" [editable]="true" (onRowSelect)="handleRowSelect($event)">
<p-column *ngFor="#col of limitsCols" [field]="col.field" [header]="col.header" [editable]="col.editable">
<template #col #car="rowData">
<span [style.color]="car[col.field]" [editable]="car[col.editable]">{{car[col.field]}}</span>
</template></p-column>
</p-dataTable>
I am looking feature like:
http://www.primefaces.org/showcase/ui/data/datatable/edit.xhtml
in datagrid with angular2.
I'll appreciate any help
I need the same. I want to have a date picker in the Date column of my editable data table
This is a very much needed feature indeed. As I understand, there is no way to have cell-level editability at the moment, it's either whole column editable or not.
This issue should be labeled as enhancement.
Row-wise editing like we have in primefaces is desirable. Can we put this enhancement in the next beta milestone maybe for beta 19 ?
Comments have different requirements and request is not clear. Moved the request to roadmap called row based editing, will pick it up and create a new ticket later after 1.0.
Hi,
I need this row based editing function for p-datatable urgently. When this new feature will be added into primeNG datatable?
When this row editable feature in ang4 will come on the road?
referance:http: //www.primefaces.org/showcase/ui/data/datatable/edit.xhtml
Our estimate is within 2 months.
Hi,
Has cell level editing has been incorporated in primeng? I have searched a lot for this, but have ended up here. If yes, can anyone pls explain how to use?
Thanks.
Hi,
Has the cell level editing been implemented in PrimeNg datatable?
Bump!
Most helpful comment
Hi,
I need this row based editing function for p-datatable urgently. When this new feature will be added into primeNG datatable?