added ValueFormat function

so both header and value can be overridden