Package com.smartgwt.client.widgets.grid
Interface GroupTitleRenderer
public interface GroupTitleRenderer
Group title renderer function.
-
Method Summary
Modifier and TypeMethodDescriptiongetGroupTitle
(Object groupValue, GroupNode groupNode, ListGridField field, String fieldName, ListGrid grid) Return the title that should be shown to the user for the group with the groupValue passed as a parameter.
-
Method Details
-
getGroupTitle
String getGroupTitle(Object groupValue, GroupNode groupNode, ListGridField field, String fieldName, ListGrid grid) Return the title that should be shown to the user for the group with the groupValue passed as a parameter.Default title is the groupValue itself.
- Parameters:
groupValue
- the value from the group is created, the result ofGroupValueFunction.getGroupValue(Object, ListGridRecord, ListGridField, String, ListGrid)
groupNode
- the node in the grid containing the groupfield
- the field object for which to get group valuefieldName
- The name of the fieldgrid
- the ListGrid displaying the cell- Returns:
- the group value to which this record belongs
-