Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

 

 

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.

 

Row double click

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:

  • updateRecordContainer attribute on Grid column – this is on column level, so multiple columns can open different screens
  • updateRecordContainer attribute on Grid – this is on Grid level, so if there is no screen specified on column level, it will use the one defined here
  • FolderWindowToLaunch attribute on Grid – this is on Grid level, so if there is no screen specified on column level OR in updateRecordContainer attribute, it will use the one defined here

The HyperLink columns would then look like this and will open a new screen when clicking on them.

 

 

  • No labels