primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Datatable row editing

Open katrina-engelbrecht opened this issue 9 years ago • 25 comments

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

  • [ ] http://www.primefaces.org/showcase/ui/data/datatable/edit.xhtml the first example.

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

katrina-engelbrecht avatar Feb 12 '17 11:02 katrina-engelbrecht

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

sharok avatar Feb 28 '17 08:02 sharok

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

lx1036 avatar Mar 03 '17 07:03 lx1036

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

katrina-engelbrecht avatar Mar 15 '17 20:03 katrina-engelbrecht

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?

sharok avatar Mar 16 '17 04:03 sharok

Yes, we'll do it after 4.0.

cagataycivici avatar Mar 16 '17 06:03 cagataycivici

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

meanle11 avatar May 17 '17 04:05 meanle11

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

jevgenimarenkov avatar Jun 06 '17 06:06 jevgenimarenkov

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.

64n35h4 avatar Aug 02 '17 16:08 64n35h4

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

scurk1415 avatar Sep 07 '17 08:09 scurk1415

waiting for this feature

alannsiqueira avatar Oct 18 '17 01:10 alannsiqueira

waiting for this feature

viswa-optimusprime avatar Oct 18 '17 16:10 viswa-optimusprime

@cagataycivici Can i get any update on this feature?

viswa-optimusprime avatar Nov 07 '17 01:11 viswa-optimusprime

+1 on the queue, I really needed it

pierfreeman avatar Nov 10 '17 11:11 pierfreeman

waiting too

karakule006 avatar Dec 02 '17 10:12 karakule006

is there a preview for this feature?

alannsiqueira avatar Dec 06 '17 19:12 alannsiqueira

Any update on this feature?

Chi1985 avatar Dec 12 '17 05:12 Chi1985

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 avatar Jan 13 '18 22:01 cagataycivici

@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?

pierfreeman avatar Jan 23 '18 11:01 pierfreeman

any news on this?

benticlaskaris avatar Feb 07 '18 10:02 benticlaskaris

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).

selemxmn avatar Feb 07 '18 15:02 selemxmn