How can I script the creation of a set of value colors for a data table column without having to specify what they actually are?
I'm asking because I have an application that is expecting to find a "Value Colors" property associated with a selected column, and will crash if that property doesn't exist. I don't want to have to define the actual colors themselves because they're irrelevant: I just need there to be a Value Colors property.
I can do this very easily interactively by just right-clicking on the column in question, and selecting "Value Colors" from the list of properties, whereupon a default set is defined automatically for me. It's essentially this operation therefore that I need to script - and I'm guessing that the solution will be a single line of code, but I'm afraid I just can't see it. Can anyone help?