Set default behaviour for Array type to be other than Table

Thanks for the work on this project! It has been a delight to work with.

Is it possible to set the default output of an array to be List or ListWithDetails rather than table? I have been looking on the forum and docs but cannot seem to find anything.

I understand that it is possible to set the type in the uischema, but I have been able to get away without having to craft the ui schema up till now. We have farely complex JSON object and would be ideal to keep the usage to simply passing the schema and data, rather than having to craft the uischema as well.

Hi!

Yes, that’s rather simple: Add an entry to the renderers with a higher priority than the default renderers for these use cases and just point to the existing List, ListWithDetail. Alternatively you can just remove the entry for the table variant.

1 Like