Is there a way to create a custom array renderer?

I’d like to create a custom array display that uses the same functionality but changes the styling somewhat (eg removing the numbers at the beginning of the ExpansionPanel).

[original thread by Alec Selinger]

Hi @alec-forms(alec-forms), yes you can register any kind of renderer. As long as you return a higher priority than the built-in array renderer your renderer will be invoked. See our custom renderer tutorial for general information and the discussion https://spectrum.chat/jsonforms/general/using-ajv-errors-to-override-messages-for-required-fields~3f8a1417-22e4-4879-87fa-cde1ff9ee1d4https://spectrum.chat/jsonforms/general/using-ajverrors-to-override-messages-for-required-fields~3f8a1417-22e4-4879-87fa-cde1ff9ee1d4 for an instruction on how to reuse parts of the built-in (array) renderers.

Note that if removing the numbers is all that you want you might be able to do this without a custom renderer only with CSS by setting display: none; or visibility: hidden; for the respective elements. See also Material UI theme customizing.