I have a user model. I grouped data by user_type, now grouped data shows with default value of the column. How can it be formatted?

Is there any way to show user_type field formatted value on group in table?
I have a user model. I grouped data by user_type, now grouped data shows with default value of the column. How can it be formatted?

Is there any way to show user_type field formatted value on group in table?
Copyright © 2021 Jogjafile Inc.
As suggested in the docs you can customize group title by using
getTitleFromRecordUsing