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.
3
votes
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
0
votes
I have been trying to replicate the same from a long time. Just found a workaround for this.
- Create Dynamic Action on Interactive grid on event Double Click
- Set Action = Execute JavaScript Code
- 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.