Need some help with best practices for tables

0
Hi there, I now have an excel sheet with months and studios for rent which I only want to show as a table in mendix. No further logic needs to be applied, this may come later. In order to be able to display the numbers I am now creating an entity with a lot of attributes, namely every combination of studio and month. In this example (see attachment) I already have 5x12 = 60. I get the impression that I am not approaching this correctly, who can help me on my way. So I have a table with fixed values ​​above and to the left of the table and changing numbers in the table
asked
2 answers
0

Hi Maurice,

I am not able to understand what you want exactly.

Could you please explain more?

answered
0

Hi Mohammad,

 

What I want to do is to display a tabel where the month's and studio's are a fixed attibute but the times the studio was rent out per month needs to come from the database.

 

I now created an entity where the artibutes are studio1_january, studio1_february, studio1_march and so on

Now I have 60 attributes for this entity and it feels wrong, so I wonder if there is a beter wayto do this?

 

Now I have a page with a gallery and there I made a table with text fields and get the numbers from the dababase via those textfields, ut also this feels wrong.

 

So my question is what are the best practices for showing a table like in the attachment? 

 

Maurice

answered