The field's data type in the server's response DTO. The possible values are 'integer', 'boolean', 'text'. It the data type is 'integer', that means the field type in the response is numeric. If the data type is 'boolean', that means the field type in the response is boolean (true/false). If the data type is 'text', that means the field type in the response is text.
The object mapping for the status formatter.
dataType: 'text',
mapping: {
'active': {
classList: 'bg-green-500 text-white',
title: 'Active'
},
'inactive': {
classList: 'bg-red-500 text-white',
title: 'Inactive'
}
}
The type of the formatter. In this case, it should be 'Status'.
The configuration object for the Status formatter.