Record links in Grid are records which can be opened (a new screen will be launched, related to that record).
There are now two possible options to open a selected record. “Row Double Click” or/and “Hyper Link” definitions on certain columns within the grid itself.
In order to open a record on row double click, the EventRowChosen attribute on the Grid must be set to a client logic function. Inside this function, the ‘launchContainer’ method needs to be called in order to open a new screen.
The defined function can look like this:
akioma.openRecord = function(self) { var oGrid = self.controller; app.controller.launchContainer( { containerName: 'offerw', ?????????? repositionTo:???? oGrid.dataSource.dynObject.getValue('selfhdl'), ?????????? caller:???????????????? oGrid, ?????????? data:???????????????????? true ?? }); } |
The HyperLink is displayed as a link on the Grid columns. Clicking on this link will open a new screen related to the selected record.
To set a Grid column as a link column, the following attributes need to be set on that column: SUBTYPE: LAUNCH and VisualisationType: LINK
These settings will only set the column to be a ‘link’ column. The screen that will be opened when clicking on the link can be specified in the following ways:
The HyperLink columns would then look like this and will open a new screen when clicking on them.