com.smartgwt.client.widgets.grid
Interface SortNormalizer


public interface SortNormalizer

Sort Normalizer

See Also:
ListGridField.setSortNormalizer(SortNormalizer)

Method Summary
 java.lang.Object normalize(ListGridRecord record, java.lang.String fieldName)
          The normalization function.
 

Method Detail

normalize

java.lang.Object normalize(ListGridRecord record,
                           java.lang.String fieldName)
The normalization function.

Parameters:
record - the record to normalize
fieldName - name of the field on which sorting occurred
Returns:
normalized value for sorting (a java numeric primitive type or String)