Custom module : change clickable row on list

Hello everyone !

I’m developping my own custom module and I can’t manage something.
When I’m on the main page that lists all entries from my module, the links for accessing individual card entry are on Reference row by default.
But I want to put this link on another row (Label for exemple) and I can’t see where to change this on class file.
Someone can help me please ?

Thanks !

as far as I know you have to modify the code of the page that generates the list