How to reference an existing Style Definition from an Advanced Grid Configuration Service?
Hi!
I'm using a configuration script for an Advanced (Tree) Grid v4.0.2.
What I'd like to do is to reference an existing Style Definition from my configuration script, when setting styles' properties, rather than hard coding it. Indeed, doing so from various script ensures that you use same styles in all your grids.
In other words, technically, what I'd like to declare something like this:
"styles": {
"tableHeaderStyle": "MyProject.GridAdvancedHeaderStyle",
instead of something like this (hard-coded):
"styles": {
"tableHeaderStyle": {
"backgroundColor": "#202020",
"secondaryBackgroundColor": "",
"foregroundColor": "#ffffff",
"textDecoration": "",
"image": "url",
"lineColor": "#c0c0c0",
"borderStyle": "solid",
"borderWidth": "1px",
"fontFamily": ["helvetica", "arial"],
"fontStyle": "normal",
"fontSize": "11px",
"fontWeight": "bold"
},
Of course I've tested it ... but it does not work. It seams that existing Style Definitions can be applied to Advanced Grids using GUI, but not Configuration Services ...
Thanks for support!

