Primeng: Datatable row editing

Created on 12 Feb 2017  路  25Comments  路  Source: primefaces/primeng

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.

http://plnkr.co/edit/D1AK7i

Current behavior

The datatable can be editalbe for the whole table or for columns.
Expected behavior

I want to edit table cell based on row. A good example pls. refer to

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

At the end of each row there is a "edit" icon, when user clicks on it, the whole row will be editable, and the icons will be changed to "save" and "cancel". User can save the change or cancel the editing action back to the initial "edit" icon. Just like the PrimeFaces datatable editable showcase.
Please tell us about your environment:

Windows 10, WebStorm, npm, NodeJS

  • Angular version: 2.0.X
    Angular 2.0.X
  • PrimeNG version: 2.0.X
    PrimeNG Version 2.0.X

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

  • Node (for AoT issues): node --version = 6.9.5

Most helpful comment

I see this problem becomes necessary for developer, I hope team primeng will update it soon :)

All 25 comments

@cagataycivici Could you add this feature to roadmap? I think it's very important feature for datatable.

@cagataycivici @sharok Yes, It is a very import feature for datatable. We need it, haha.

so how about this issue? Have you make some progress?

I saw inline row editing in the roadmap, but now it doesn't have it. @cagataycivici Do you have plans for inline row editing/adding? If no, could you provide some workaround(not complete solution, but ideas, thoughts ) if it's possible?

Yes, we'll do it after 4.0.

I see this problem becomes necessary for developer, I hope team primeng will update it soon :)

Do you have any plans to implement that? Actually, it is critical feature for DataTable.

There are any updates regarding this issue? I'm looking forward to use this data table but cannot without this feature - if there's anything I can help, please notify me. Thanks.

I also want to know if there are any changes about this.

waiting for this feature

waiting for this feature

@cagataycivici Can i get any update on this feature?

+1 on the queue, I really needed it

waiting too

is there a preview for this feature?

Any update on this feature?

p-dataTable is deprecated and will be removed in favor of the new p-table (aka TurboTable) of 5.1.0 so closing the issue. Please try the new p-table once 5.1.0 is released.

@cagataycivici I'm looking the documentation of the new p-table but I don't see any "edit by row". Do you confirm this feature will be present in the next release?

any news on this?

Need it please on the old DataTable ~ should be supported on both kinds of Tables (old & new) because I cannot use the Turbo Table -at least for now- since it works only for angular-5 projects (that is in case it'll be sticked to the newest version only).

The version on the site is the most updated one? It does support this feature yet - only cell edit
Thanks

@cagataycivici an answer on this? Any news would be appreciated.

I would suggest you to create a new issue. Seems like they've closed all Datatable issues without even looking at them (that's sad because lots of them apply to the new version too) when released the new TurboTable.
It also doesn't look like there will be any future updates for Datatable. And I'm afraid that Datatable will be completely removed soon so you're going to stick to some older version of primeng without ability to update it.

@ctrl-brk Yeah I don't mind to work with TurboTable instead of DataTable, I already migrated to this component, but as you said, several issues still apply to it.
So yes, I will create another issue, hoping it won't be shut down as well.

I created a new related issue specifically for the new table: https://github.com/primefaces/primeng/issues/5284

It seems that it has already been put in the milestones for release 6.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SchneMa picture SchneMa  路  3Comments

Faigjaz picture Faigjaz  路  3Comments

pchristou picture pchristou  路  3Comments

cyberrranger picture cyberrranger  路  3Comments

Helayxa picture Helayxa  路  3Comments