Questions tagged [in-place-edit]

8 questions
4
votes
1 answer

How to get the value that caused the TDBGridInplaceEdit error?

I'm trying to write an exception handler that displays user friendly messages. I don't know how to get the "Newly Entered" data value that caused the TDBGridInplaceEdit error. For example: I have a DBGrid loaded with data. When I intentionally…
3
votes
2 answers

(Rails) In-place editing of attributes via an "index" page

I'm looking to use "in_place_editor_field" on an "Index" page of items. Basically I want to mimic spreadsheet functionality for pre-existing line items in order to edit their attributes. However, none of the "in_place_editor" examples I've seen…
humble_coder
  • 2,777
  • 7
  • 34
  • 46
2
votes
2 answers

rails in_place_edit: how do I pass an authenticity token?

I am trying to get in place editing working but I am running into this error: ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken) I understand that rails now wants to protect against forgery and that I need to…
srboisvert
  • 12,679
  • 15
  • 63
  • 87
1
vote
2 answers

jEditable is taking only one id

Alright. I'm new to jEditable. Let me explain the issue i'm having with jEditable. I have this simple table in my database - id car make 1 panamera porsche 2 italia ferraris 3 avantador lamborghini 4 slk …
newbiewebb
  • 11
  • 3
1
vote
1 answer

How to use in_place_editing instead of fields_for?

I setup a User model with restful_authentication and then have a Profile model that belongs to it. I've been using fields_for to combine the fields for editing a User and that user's profile into the User edit view. I'd like to be able to set a few…
blupt
  • 13
  • 5
1
vote
1 answer

How to edit the td value when double click on it

I want to edit the td value of particular id when i double click on it. I wrote the logic. In below code 'get()' function will return 10 status which is assigned to a table td. If i double click on the any status I need feature of in-place editing…
user3614760
  • 9
  • 2
  • 7
1
vote
2 answers

How to use in_place_edit plugin for rails with partials?

I am using the "in_place_editing" plugin for rails to render a form with in-place edits. Thing work fine as long as the default template is chosen by rails (no 'render' method is invoked inside the controller), but they break down when I try to…
Raghu
  • 385
  • 1
  • 5
0
votes
1 answer

How to edit a single attribute inline with Turbo Frame and Trubo Stream with validation feedback?

Creating In-Place-Editing of a single attribute of a model using Turbo Frames (not using a gem such as Best_In_Place as it requires jQuery and is not working well with Rails 7) This implemenation is using ONLY turboframes. To accomplish this I…