Hi,
What is the recommended approach to specify the CSS style to be used when displaying a given SimpleType?
The SimpleType API supports specifying formatters, but as far as I understand, they are intended for formatting the content, and specifying the style. (Although technically I could generate HTML code here, which could reference and CSS style, but then I must manually implement all rendering, even if I only wanted to change some CSS properties.)
Or I could specify getCellStyle overrides on the compoments using the type, but then I have to do this manually everywhere the SimpleType is used, which is exactly what the SimpleType system is intended to avoid..
What is the right solution here?
Thank you for explaining:
Csillag
What is the recommended approach to specify the CSS style to be used when displaying a given SimpleType?
The SimpleType API supports specifying formatters, but as far as I understand, they are intended for formatting the content, and specifying the style. (Although technically I could generate HTML code here, which could reference and CSS style, but then I must manually implement all rendering, even if I only wanted to change some CSS properties.)
Or I could specify getCellStyle overrides on the compoments using the type, but then I have to do this manually everywhere the SimpleType is used, which is exactly what the SimpleType system is intended to avoid..
What is the right solution here?
Thank you for explaining:
Csillag
Comment