com.smartgwt.client.widgets.grid
Interface GroupTitleRenderer


public interface GroupTitleRenderer

Group title renderer function.


Method Summary
 java.lang.String getGroupTitle(java.lang.Object groupValue, GroupNode groupNode, ListGridField field, java.lang.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 Detail

getGroupTitle

java.lang.String getGroupTitle(java.lang.Object groupValue,
                               GroupNode groupNode,
                               ListGridField field,
                               java.lang.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 of GroupValueFunction.getGroupValue(Object, ListGridRecord, ListGridField, String, ListGrid)
groupNode - the node in the grid containing the group
field - the field object for which to get group value
fieldName - The name of the field
grid - the ListGrid displaying the cell
Returns:
the group value to which this record belongs