StyleDefinitionAttributes
Description
StyleDefinitionAttributes
is an interface that exposes properties allowing CSS attributes or classes to be set on the different HTML elements composing the data grid.
Properties
Property |
Type |
Description |
---|---|---|
style? |
An object containing a group of key/value pairs, where the key is the name of a CSS property and where the value is the CSS value to apply to the property. |
|
class? |
{ [key: string]: any } |
An object containing a collection of CSS class names, where key identifies the class, and value provides the class name. |
StyleDefinitionAttributes
can be provided through a StyleSelector
.
Remarks
In this documentation, OptionalStyleDefinitionAttributes
is the same as StyleDefinitionAttributes
except that a variable or property of type OptionalStyleDefinitionAttributes
may also take the value null or undefined.