This question is locked. New answers and comments are not allowed.
Hello,
I'm working on a simple backend admin table and came upon a small problem. I have a role class and each role has a team associated with it (Role.teamId); Everything in the table populates fine, but the filtering could be better. When the user goes to filter based on team, the filter shows the teamId, and I'd prefer it to show Team.name (I have a collection of all the teams and the UI shows teams based on Team.name). Upon looking up how to do this, it seems I need to modify the prepare() of a custom FilterControl ... is this correct, and if so, how would I go about making this small change? If not, what should I instead be doing.
Thanks for your time - I appreciate it,
Matt
I'm working on a simple backend admin table and came upon a small problem. I have a role class and each role has a team associated with it (Role.teamId); Everything in the table populates fine, but the filtering could be better. When the user goes to filter based on team, the filter shows the teamId, and I'd prefer it to show Team.name (I have a collection of all the teams and the UI shows teams based on Team.name). Upon looking up how to do this, it seems I need to modify the prepare() of a custom FilterControl ... is this correct, and if so, how would I go about making this small change? If not, what should I instead be doing.
Thanks for your time - I appreciate it,
Matt