Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / humanizeField

Function: humanizeField()

humanizeField(field): string

unitPrice → Unit price, order_date → Order date, SKU → SKU.

An all-caps token is left alone: SKU and VAT are words on the screen, and "S K U" would be worse than the raw field.

Parameters

field

string

Returns

string