Skip to content

DrillDown Types

Live Sample GitHub

There are several types of drilldown:

  • INNER Transition inside the application.

  • EXTERNAL Transition by an absolute link to an external source.Current tab

  • EXTERNAL_NEW Transition by an absolute link to an external source.New tab

  • RELATIVE Transition by a relative link while keeping the protocol, host, port.Current tab

  • RELATIVE_NEW Transition by a relative link while keeping the protocol, host, port.New tab

INNER

DrillDownType.INNER - Transition inside the application.

How does it look?

inner.gif

How to add?

Example

The availability of this function depends on the type. See more field types

Step 1 Add fields.setDrilldown with type DrillDownType.INNER to corresponding FieldMetaBuilder.

        fields.setDrilldown(
                MyExampleDTO_.customField,
                DrillDownType.INNER,
                "/screen/myexample/view/myexampleform/" + CxboxMyExampleController.myexample + "/" + id
        );

EXTERNAL

DrillDownType.EXTERNAL - Transition by an absolute link to an external source. When you click the link, it will open in the same tab.

How does it look?

external.gif

How to add?

Example

The availability of this function depends on the type. See more field types

Step 1 Add fields.setDrilldown with type DrillDownType.EXTERNAL to corresponding FieldMetaBuilder.

        fields.setDrilldown(
                MyExampleDTO_.customFieldExternal,
                DrillDownType.EXTERNAL,
                "https://cxbox.org/"
        );

EXTERNAL_NEW

DrillDownType.EXTERNAL_NEW - Transition by an absolute link to an external source. When you click the link, it will open in a new tab.

How does it look?

externalnew.gif

How to add?

Example

The availability of this function depends on the type. See more field types

Step 1 Add fields.setDrilldown with type DrillDownType.EXTERNAL_NEW to corresponding FieldMetaBuilder.

        fields.setDrilldown(
                MyExampleDTO_.customFieldExternalNew,
                DrillDownType.EXTERNAL_NEW,
                "https://cxbox.org/"
        );

RELATIVE

DrillDownType.RELATIVE - Transition by a relative link while keeping the protocol, host, port.

How does it look?

relative.gif

How to add?

Example

The availability of this function depends on the type. See more field types

Step 1 Add fields.setDrilldown with type DrillDownType.RELATIVE to corresponding FieldMetaBuilder.

        fields.setDrilldown(
                MyExampleDTO_.customFieldRelative,
                DrillDownType.RELATIVE,
                "/screen/myexample/view/myexampleform/" + CxboxMyExampleController.myexample + "/" + id
        );

RELATIVE_NEW

DrillDownType.RELATIVE_NEW - Transition by a relative link while keeping the protocol, host, port. New tab

How does it look?

relativenew.gif

How to add?

Example

The availability of this function depends on the type. See more field types

Step 1 Add fields.setDrilldown with type DrillDownType.RELATIVE_NEW to corresponding FieldMetaBuilder.

        fields.setDrilldown(
                MyExampleDTO_.customFieldRelativeNew,
                DrillDownType.RELATIVE_NEW,
                "/screen/myexample/view/myexampleform/" + CxboxMyExampleController.myexample + "/" + id
        );