Filtering columns in Inline Repeat

Hello,

for one of our requirements, we have a form with an inline repeat. Depending on some condition, we want to dynamically hide a subset of the columns.This can be an arbitrary subset, so modelling a different repeat for each combination is not realistic. In our case, when there is no data set for a column, the column should be hidden.

I am trying to come up with an elegant approach to solve this problem. So far I only see some obscure way to solve it using FormModelMap and FieldOverviewColumn, but tbh this seems really hacky.

Is there a simpler approach to achieve what I want to do?

Hello @robin-rugged-valley , thanks for your post within A12 discourse! We’ve forwarded your request to our Engine team. As they are currently very busy, there may be delays in processing. We apologize for this and hope to be able to provide an answer in a timely manner.

Your discourse team

Hi @robin-rugged-valley ,

I think your use case could be solved in an easy and clean way by using the “widget map” API approach. Please create a requirement to also provide something similar for the table widget(s).

Please note that we can only expose the raw table widget API without access to repeat data - which is totally sufficient for your use case.

Hello @robin-rugged-valley, I am a member of the Discourse team. I can see that there was a new response to your question on Filtering columns in Inline Repeat. Do you find it helpful, or should the question remain open?

Thanks ahead for your feedback and have a nice rest of the day!