Custom Structs in UI
I was trying to make arrays of custom structs editable via the UI.
Currently inside the UI an array of the custom structs looks like this.
And my struct has the following definition
How would I go about to make the fields of the struct editable via the UI ?
Many thanks !
What you want to do can be accomplished with a so called Detail Customization, which is a special class deriving from IDetailCustomization that you can register and which tells the details view how to present your structured data.
There are many examples of such customizations in the code base. In particular, many of the built-in struct types have customizations implemented in the DetailCustomizations module. Some other modules, as well as plug-ins also implement customizations. Just search for IDetailCustomization and you should find plenty of inspiration for very simple and very complex use cases!
answered May 29 '14 at 10:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here