i thought of the possibility if it would be possible, that a user is able to expand the columns in a table at runtime. Exactly like one can do with presentations. The difference is, that in presentations you have a fixed set of columns that are predefined. The user is only allowed to cut off some of these columns with a presentation (or, if the default presentation contains less columns than available, the user can expand the number of columns up to the predefined limit from the view).
What i was thinking of is, if it is possible and although if it would make sense to not pre-define a set of columns. From my example app cuba-ordermanagement, here is an example that i would think of: order-browse.xml. In this case, the Order has a N:1 Relation to a customer. This customer has a city attribute. Would it be possible to enable the user to get a order list, where the city of the user is shown as a column, without changing the code of the order-browse.xml and the view associated with it?
The user could select columns like in the “Add filter” popup, where there is the tree of the entity-graph attributes that the user can pick from.
I’m not sure if this even make sense, but i would like to know what you think about it and if it even would be possible in terms of database fetching. Obviously there is always the possibility to add a lot of columns to the view and create a default presentation that just contains the starting points, but that would require to know about the requested table upfront (and probably).