Skip to content

CEObjectListItemRenderer ​

The component CEObjectListItemRenderer represents a baseBean as an object renderer in the list component.

Properties ​

Parameter ​

The parameters must be set via attribute itemRendererProperties of actor ListItemRendererFactory.

NameTypeDescription
extendedContentsubpanel
renderer
Activates expandable panels next to the list entries with additional content.
More details and config guide
modulestringDefines the module from which the renderer configuration is loaded.
rendererNamestringName of the renderer that will be loaded for the dataset display.

Extendable Lists ​

Via parameter extendedContent, you can extend a list with additional information panels (e.g., further metadata or related objects). As soon as there is content for parameter extendedContent, an 'Expand' button will automatically show next to each list element. Users can open the additional content for a list entry without leaving the current view.

Supported Content Types ​

Use attribute type to define the content displayed in the expandable panel. If you add more than one content, a new panel is created for each separate content.
We support three content types:

NameTypeDescription
rendererstringAdd the name of a simple renderer here.
Example: additionalinformation will refer to renderer simple/additionalinformation of the current module (e.g. account).
subpanelAdd the information of a layout here.
  • module (string): optional, default: current module
  • objectType (string): optional
  • layoutId (string): optional, default "subpanel"
  • parameter: All parameters that would be specified via ImportLayout (e.g. relationName). The BeanActor is automatically transferred.

Example ​

In the following example, we add a simple renderer and a subpanel to module Companies (account) via a layout change of layout main:

xml
<changes>
  <change xpath="//actor[@id='mainSearchGridFactory']/parameter" type="add">
    <entry class="map" key="itemRendererProperties">
      <entry key="extendedContent" class="array">
        <value class="map">
          <entry key="type">renderer</entry>
          <entry key="defaultOpen" class="boolean">true</entry>
          <entry key="renderer">additionalinformation</entry>
        </value>
        <value class="map">
          <entry key="type">subpanel</entry>
          <entry key="defaultOpen" class="boolean">true</entry>
          <entry key="module">contact</entry>
          <entry key="parameter" class="map">
            <entry key="subpanelTitle">L-ACCOUNT-ACCOUNT_CONTACT-SUBPANEL-TITLE</entry>
            <entry key="relationName">account_contact</entry>
          </entry>
        </value>
      </entry>
    </entry>
  </change>
</changes>

Result in the GUI:

Request missing documentation