Interface
caplin.grid.expandable

ContainerChildRowConfig

Constructor Summary

Attributes Name and Description
caplin.grid.expandable.ContainerChildRowConfig()

Method Summary

Attributes Name and Description
String getChildContainerName(String subject)

Provides the expandable grid with the child container subject for a specified parent row subject.

Object getChildRowFieldMappings()

Provides the expandable grid with a set of field mappings for child rows.

Constructor Detail

caplin.grid.expandable.ContainerChildRowConfig()

Method Detail

String getChildContainerName(String subject)

Provides the expandable grid with the child container subject for a specified parent row subject.

Parameters
String subject of the parent row.
Returns
{String} the child container subject to request.

Object getChildRowFieldMappings()

Provides the expandable grid with a set of field mappings for child rows. This is useful in two cases:

  • When you require a given field to be displayed in one column for parent rows, and another column for child rows.
  • When you require a given column to display one field for parent rows, and another field for child rows.

Returns
{Object} a map of child field names to the field names that they should be mapped to.