Is there a way using the Themes json file to dynamically set the box images for a protected datawindow column checkbox style control? Looks like it can be done for a Checkbox control by setting:
"disabled-state":
{
"background-color":"#F7F7F7",
"text-font":{"color":"#B8C2CC"},
"box-images":
{
"unchecked":{"file":"checkbox-box-disabled-unchecked.bmp"},
"checked":{"file":"checkbox-box-disabled-checked.bmp"},
"indeterminate":{"file":"checkbox-box-disabled-indeterminate.bmp"}
}
}
But enabled is not a property of a datawindow column. I tried protecting the column, then adding this to the theme file (doesn't work):
"dwo-column":
{
"drawing":true,
"border":0,
"border-color":"#d0d3d9",
"background-color":"#FFFFFF",
"text-font":{"color":"#3C465A"},
"checkbox-type":
{
"drawing":true,
"normal-state":
{
"box-images":
{
"unchecked":{"file":"checkbox-box-normal-unchecked.bmp"},
"checked":{"file":"checkbox-box-normal-checked.bmp"},
"indeterminate":{"file":"checkbox-box-normal-indeterminate.bmp"}
}
},
"protected-state":
{
"box-images":
{
"unchecked": { "file": "checkbox-box-disabled-unchecked.bmp" },
"checked": { "file": "checkbox-box-disabled-checked.bmp" },
"indeterminate": { "file": "checkbox-box-disabled-indeterminate.bmp" }
}
}
But i'm guessing "protected-state" is not valid.