Tabulation based on record value

Good afternoon, and best wishes for this year 2024 !

I am currently looking for a way to add n tabulations to each field displayed in a grid, based on a specific dynamic value.
The purpose is to create a hierarchical display of my data ; example below :

If Style = ListLevel1, I would like to add one tabulation.
If Style = ListLevel2, I would like to add two tabulations.

Is there a way to achieve this ?

Thank you for your help / advices.


If it’s of any use to anyone : :man_shrugging:

After a few tries, I came up with a result that satisfied me and my intended use:


Hierachic levels are shown. I did it using cascaded “Display Rules”.