return configureFormatter(newDataField(name, columns, pMaskType), inputMask, maskPlaceHolder, mappedType);
}
public static DataField configureFormatter(DataField dataField, String inputMask, char maskPlaceHolder, String format, Class<?> mappedType)
{
dataField.setFormatterFactory(new DataFieldFormatterFactory(inputMask, maskPlaceHolder, format, mappedType));
return dataField;
}