Just wonder about how page layout works with sObjects, how easy to customize the page fields and buttons.
Can’t we make similar build for our own custom wrapper classes or some Json data comes from third party system ?
Yes! We can customize the wrapper class fields on lightning component with below set of codings.
Lightning Component For Wrapper class with Field customization
1. A wrapper class for field description
2. Prepare a component to use this wrapper and create custom components in it for each data type.
3. Controller & Helper classes
Now our field component is ready for deployment.
5. Go with a component for our real time data wrapper class or Json
6. Get the field details from Custom settings, so that any user can customize it to re-order fields & enable a field to display.
7. The component code will looks like this to accommodate each field
8. Helper to bind each field as compnent.
Finally our lightning component ready for a wrapper class with custom settings to customize the layout.
We are Innovalleyworks , We are a passionate team of developers, best thinkers and consultants who can solve anything and everything.
With our highly engaging team, you can easily bring the vision to all your business ventures come true.
We have team, put your problem, get your solution