p-table how to set the edit mode programatically

UI Components for Angular
Post Reply
rameshkumar12
Posts: 2
Joined: 08 Dec 2017, 00:15

30 May 2018, 22:43

Hi,

Currently Turbo Table in PrimeNG has ability to enable edit mode by adding pEditableColumn directive into table cell and using p-cellEditor to create suitable template for preview and edit view.

By default, only way to enter edit mode is single click. Is there any option to start edit mode programmatically ?

I want to change behavior of edit mode - I want to start edit mode by double click, not single click.

All your examples are with [(ngModel)], how the same will be handled with reactive forms. I do not use Ng Model here to bind the values in the edited cell, which in turn i am not seeing my values.

Request your response.

Thanks,
Ramesh

petewins
Posts: 2
Joined: 12 Sep 2017, 20:53

27 Sep 2018, 18:15

any updates, I am also looking to implement this

smartdev
Posts: 5
Joined: 16 May 2018, 17:15

15 Oct 2018, 19:09

Any help..?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests