cx-composer--for=liferay

FDS Cell Renderer

Render a custom cell in a Frontend Data Set table.

type: fdsCellRenderer·Frontend·Liferay docs →

# description

Registers a JS function that renders individual cells in a Liferay Frontend Data Set (the tables used across DXP admin surfaces).

UI extensions that render on Liferay pages or modify page appearance.

# when to use

  • You need to render a badge, progress bar, avatar, or link inside an admin table.
  • The default renderers do not display your custom field the way you want.

# how to use

  1. 01Export a default function that receives { value, itemData, fieldName } and returns a string or HTMLElement.
  2. 02Assemble the JS and reference it via url:.

# required fields

fieldtypedescription
urlrequiredstringPath to the JS module exporting the renderer.

# optional fields

fieldtypedescription
namestringDisplay name.

# example

client-extension.yaml
status-badge:
    type: fdsCellRenderer
    name: Status Badge
    url: status-badge.js

# more in frontend