Nothing so far. What would you suggest? One idea could be to just inject whatever we find in the model to the style of the HTML element. Another option would be to only use it as a class and let the user to specify the actual formatting using CSS. So we could then remove the inner nodes from the bold or alignRight styles in the model.
Which of the options looks cleaner to you?
One question stays – how to do it in the grid, which is painted? Any ideas?
We would get a css style string from the user, some thing like: width:30px; margin-right: 5em; height: 100% client would then parse it into a react style and include it in the generated html: <div style={{width: "30px", marginRight: "5em", height: "100%"}} ... </div>.
This would be easy to do for form views. For grid we would have to parse the css string and use javascript to style it. So there would have to be e a set of styles that we support.