3
votes

I am using an interactive grid in oracle apex. When we double click the grid it goes into an edit mode. I want to get rid of this functionality because my grid is not editable this way.

2
Grid region -> Attributes -> Edit Enabled = No - Jeffrey Kemp
I want the grid to be editable coz I have update actions coming from other places. I just dont want interactive grid to go into edit mode everytime someone double clicks on it. - Gorupria
Sorry I don't quite understand you. You want the grid editable, but you don't want the user to be able to put it in edit mode? What "other places" are you talking about? - Jeffrey Kemp
For instance, I have popup where users can fill data which will update the rows. I dont want users to be able to update rows by going into the edit mode. - Gorupria
It's a bit of an edge case but fair enough. I don't know the answer off the top of my head but there might be a grid event you could hijack to do this. - Jeffrey Kemp

2 Answers

1
votes

if you don't want the user to be able to edit row content, change the column type under Report -> Columns -> Your column -> Type. For example try setting it to Display only so that the users cannot change the content.

0
votes

I have been trying to replicate the same from a long time. Just found a workaround for this.

  1. Create Dynamic Action on Interactive grid on event Double Click
  2. Set Action = Execute JavaScript Code
  3. Use following code in action
    apex.region("emp").widget().interactiveGrid("getActions").set("edit", false);

Make sure to replace emp with static ID which you should provide in IG region.