Case description:
We need to have opportunity to open edit page by double click on detail record.
Algorithm of realization:
For example, I want to open all details by double click on the appropriate detail record:
- Create replacing Client Module for schema "Base schema - Detail with list" (BaseGridDetailV2)
-
Add next code to methods and diff properties:
methods: { onGridDoubleClick: function() { this.editRecord(); } }, diff: /**SCHEMA_DIFF*/[ { "operation": "merge", "name": "DataGrid", "values": { "openRecord": { "bindTo": "onGridDoubleClick" } } } ]/**SCHEMA_DIFF*/
-
Save schema -> Clear cache