In Grid one can control the foreground and background color of specific cells, rows, and columns, whether initially or via computation. Although Dataset seems to use Grid intrinsically, from existing documentation and web resources I can as yet find no way to exert finer control on Dataset output. Is there a way to do this?
As an example,
header = Style[#, Bold, Background-> LightBlue]& @/{"A", "Header B", "FooBar C"};
data = {1, 2, 3}
AssociationThread[header->data]//Dataset
Although I can use Style[#,Bold, Background-> Lightblue] as a function for my header column, only the background immediately surrounding the output text of the header has a LightBlue background, which does not fill the rest of the otherwise grayed cells, which remains filled with the color of the padding space (default gray).
Likewise, it would be desirable to be able to use different background colors for different categories (rows or columns) of data, both in the header and data files (ie key->value fields) or to change the look of different datasets or the coloration of merged datasets so that the colors correspond to those in the original datasets, thereby permitting visual recognition of different categories or sources of data in the tabular output of Dataset. Likewise, alternating background colors can often make it easier to read data with many columns and rows or highlight data of particular importance.
Perhaps an alternate way to ask this question is whether or not it possible to apply selectively Color Schemes to rows, column, cells of Datasets to accomplish this?
Names["Dataset`$*"] // TableForm
shows a list of variables associated with theDataset
namespace, includingDataset`$DatasetFrameColor
and other potential formatting handles, but I don't see that my datasets look any different when I change the values of those namespace variables... $\endgroup$