number - displays a number column, aligned right.
age:
label: Age
type: numberYou may also specify a custom number format, for example currency $99.00.
price:
label: Price
type: number
format: "$%.2f"The
formatproperty follows the formatting rules of the PHP sprintf() function
The number column type is commonly used alongside the relationCount property to count the number of related records. The following definition will count the number of records associated to users relation of the model.
users_count:
label: Users
type: number
relation: users
relationCount: true